CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 18, 2018, 21:42:11 pm


Login with username, password and session length


  Show Posts
Pages: [1] 2 3 ... 362
1  Resources / Post Processors (*.cbpp) / Re: Spindle Speed manual change. on: October 16, 2018, 05:53:12 am
Hello

I used visual basic 2010 express (Visual studio) free version

In the project settings in Application tab, you must select Console application for Application type

I attach the full project in VS format

VB can also been used to make plugins ; in this case the Application type must be set to Class library to obtain a .dll

not sure for the exact names, my Visual studio version is in French.

++
David
2  Resources / Post Processors (*.cbpp) / Re: Spindle Speed manual change. on: October 16, 2018, 02:37:56 am
Hello

I've one !  Cheesy I use it to remove the duplicate S value. maybe you can use it as is, or use it as model for coding ...

You must first set your PP to write the S command alone on a line. It is in the (header) mop macro

{$comment} {$mop.name} {$endcomment}
{$toolchange}
{$velocitymode} {$workplane}
{$mop.header}
{$spindle} {$s}
{$blocks}
{$mop.footer}


must be changed to

{$comment} {$mop.name} {$endcomment}
{$toolchange}
{$velocitymode} {$workplane}
{$mop.header}
{$s}
{$spindle}

{$blocks}
{$mop.footer}


The "Post-Build Command Args" must contain "{$outfile}"  (with the ")
The "Post-Build Command" must contain the filepath of the .exe file given in attachment, so the exe will be run by the PP.

This is the code of the RemDuplicateSxx.exe file, for information Wink (Visual basic)

Code:
Imports System.IO

Module Module1
    'supprimer les changement de vitesse inutiles qui génère une pause dans l'usinage.
    'pour post pro Mach3, Sxxx seul en début de ligne (pas de n° de ligne)
    'le M3 et le S doivent être sur des lignes séparée, voir dans le post pro
    ' dh42 08/2016
    Sub Main(args() As String)

        Dim line As String
        Dim fname, outname As String
        Dim previous_speed As Double = 0
        Dim current_speed As Double

        fname = args(0)

        If fname <> "" Then
            outname = Left(fname, Len(fname) - 3)   'filename without .nc'
            Try
                Using sr As StreamReader = New StreamReader(fname)
                    FileOpen(1, outname & ".tmp", OpenMode.Output)
                    Do
                        'read a line
                        line = sr.ReadLine()

                        'test for "S" as firt char
                        If Left(line, 1) <> "S" Then 'no speed alone on this line
                            PrintLine(1, line)
                        Else 'speed found
                            'get the speed value (remove the S and convert to number)
                            current_speed = Val(Right(line, Len(line) - 1))

                            'test if current speed = previous speed
                            If current_speed = previous_speed Then 'duplicate speed
                                'skip the line
                                PrintLine(1, "(duplicate S" & current_speed & " removed)")
                            Else
                                previous_speed = current_speed
                                PrintLine(1, line)
                            End If
                        End If
                    Loop Until line Is Nothing

                    sr.Close()
                    FileClose(1)

                    FileSystem.Kill(fname)  'delete previous .nc file
                    FileSystem.Rename(outname & ".tmp", outname & ".nc")   'rename temp file to .nc

                End Using

            Catch E As Exception
                MsgBox("Error" & E.Message)

            End Try
        End If
    End Sub
End Module

++
David

3  Support / CamBam help (General usage) / Re: Field not foundCamBam.UI.Display3D.LineColor on: October 16, 2018, 02:18:12 am
Hello

If you're using the V1.0 of CamBam, you must choose the right version for the plugin ; maybe it's the problem ? Wink

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/Polygons.html

++
David
4  FeedBack / Bug Reports / MOVED: Problem using pocket inside rectangle on: October 15, 2018, 18:19:46 pm
This topic has been moved to CamBam help (General usage).

http://www.cambam.co.uk/forum/index.php?topic=7643.0
5  Support / CamBam help (General usage) / Re: Over Cut Corner Issue on: October 13, 2018, 23:35:56 pm
Hello

It's because a point is too close to the corner ; edit your polylines 2735 & 2736 and with the "snap to object" enabled, move the useless point to the one at the bottom (it must snap to the point), then use polyline/clean to remove the point that now overlap.

you can also use Eddy's plugin to add/remove points

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/polyaddpoints.html

++
David
6  Support / CamBam help (General usage) / Re: Field not foundCamBam.UI.Display3D.LineColor on: October 13, 2018, 19:31:32 pm
Hello

You can try to reset to factory setting

http://www.cambam.co.uk/forum/index.php?topic=6491.0

++
David
7  Support / CamBam help (General usage) / Re: Stepover feedrate on: October 12, 2018, 18:18:10 pm
A picture that show the engagement with a cut along the toolpath (left side) and when moving to the next toolpath (right side), the engagement is twice .. (purple arc)

++
David
8  Support / CamBam help (General usage) / Re: Stepover feedrate on: October 12, 2018, 18:03:27 pm
Hello

Using a smaller feedrate for the stepover will reduce tools stress in some circumstances.

note that you can also set a numerical value in this box, not only Plunge feedrate or Cut feedrate.

Quote
Putting in other words: when and why would you use plunge feedrate for stepover?

When the tool complain with cutfeedrate  Grin

++
David
9  Support / CamBam help (General usage) / Re: Engraving parameters in settings on: October 08, 2018, 20:38:47 pm
 Grin
10  Support / CamBam help (General usage) / MOVED: Servo motor problems on: October 08, 2018, 00:23:26 am
This topic has been moved to Members Machines.

http://www.cambam.co.uk/forum/index.php?topic=7634.0
11  Support / CamBam help (General usage) / Re: Tapered Z DOC? on: October 08, 2018, 00:11:27 am
Hello

Quote
So if I define a XYZ start and XYZ end point of a line, and the first Z=0 and the second Z=.046, the depth of cut will linearly interpolate a gradual change in Z along the length of the line with the engrave MOP.

Yes, you can edit the Z coordinate of polyline points with the (collection) property.

For a straight line, you can draw the line on XY plane then rotate it 90°.(saying Y will become Z)

You can also draw a pointlist, explode this point list, then select the points you want to move, and move them all at a time in Z with the nummove plugin ; when each point is where you want, select all points > edit/join to get an unique pointlist, then Ctrl+P to convert the pointlist to a polyline that can be engraved.


This ability of an engrave mop to follow Z position is very useful.

It is often used by plugins like Curved surface, Texturize, profil to helix, etc.

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/curved_surface.html

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/Texturize.html

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/Spiral2helix.html

++
David
12  Support / CamBam help (General usage) / Re: Find minimum length for finishing bits on: October 07, 2018, 20:29:53 pm
Hello,

In this case, it's better to do a test part in soft material like foam.

Here I use foam to do a "nest" for a tool, but you can use it as test material.

http://www.metabricoleur.com/t7257p50-coffrets-pour-i-micros#131652

++
David
13  Support / CamBam help (General usage) / Re: Find minimum length for finishing bits on: October 06, 2018, 21:02:30 pm
Hello

If you are using CutViewer, and if the tool length is defined in CB, CV give an alert if the tool is too short when you run the simulation.

But it has no way to detect if a shank of a bigger diameter that the tip diameter can hit the part. (there is no way to define this kind of tool in CV)

On 3D shapes, my way to do that is .... manual ... I draw a 3D object to represent the tool and the spindle nose and I move it on the area that can cause problem to see if that fit without to hit anything ...

++
David
14  Support / CamBam help (General usage) / Re: [SOLVED]: Boundary taper on: October 06, 2018, 19:08:34 pm
Hello

Yes sure, it's just to clearly see the taper ; I guess that 2 or 3° is sufficient.

++
David
15  Resources / CamBam files (*.cb) / Re: Halloween Shapes on: October 06, 2018, 02:56:49 am
Hello  Wink

They can be cut as is with a 3mm endmill (1/8")  .. except for the cat and batman eyes and mouth and the skull (crâne1) nose that must be engraved with a V tool.

++
David
Pages: [1] 2 3 ... 362
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.113 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap