开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: *.dxf to G-Code

 

There is a version of Sheetcam that runs on Linux as well

On 19/3/23 22:16, o1bigtenor wrote:
On Sun, Mar 19, 2023 at 3:09?AM Martin Connelly
<martin.at.leasingham@...> wrote:
Estlcam is another option
Any CAM versions that run on Linux?

Regards




Re: *.dxf to G-Code

 

On Sun, Mar 19, 2023 at 6:29?AM cnc_joker <preilley_454@...> wrote:

There is a plugin for FreeCAD that will generate G Code. FreeCad runs
on everything.
(Shuddering in fear - - - ) FreeCAD for modeling has so far been my
nemesis . . .


Re: *.dxf to G-Code

 

There is a plugin for FreeCAD that will generate G Code.?? FreeCad runs on everything.

On 3/19/2023 7:16 AM, o1bigtenor wrote:
On Sun, Mar 19, 2023 at 3:09?AM Martin Connelly
<martin.at.leasingham@...> wrote:
Estlcam is another option
Any CAM versions that run on Linux?

Regards




Re: *.dxf to G-Code

 

On Sun, Mar 19, 2023 at 3:09?AM Martin Connelly
<martin.at.leasingham@...> wrote:

Estlcam is another option
Any CAM versions that run on Linux?

Regards


Re: *.dxf to G-Code

 

Estlcam is another option


Re: MACH3 and Spindle PWM output

 

开云体育

And in case anyone is wondering what the schematic is of, ?I've attached a photo captured off the AliExpress site.? This one is listed at $3.86 Cdn.? The biggest design flaw is the USB connector for the 5V is the wrong type. ?But there are terminals to apply 5V from a power supply so it's not a big deal.

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: March-17-23 10:13 PM
To: [email protected]
Subject: Re: [MachCNC] MACH3 and Spindle PWM output

?

Ah.? Got it.? I've attached the updated drawing of the MACH3 Break Out Board from China.? My apologies to anyone who might have been confused by the schematic.

?

The error is that I thought the P1 pin was driving the opto rather than what it really is doing is sinking current.? To make that work with MACH3 as the PWM, the Output Step line, which is P1, has to be inverted.

?

So parameters are:? Spindle Step pulse P1, Spindle Direction P17 (which drives the relay on the board), Spindle Step pulse is inverted.

On the spindle setup screen the Use Spindle Output is checked along with PWM Control.

?

Now when the P1 signal is logic high the opto output is off and a resistor pulls the input to the FET high which then turns on the FET which pulls the input to the opto buffer low and the PWM output is low.

?

At 3000 RPM (Pulley #1 max speed) there's barely a pulse and the P1 is virtually low all the time pulling current through the opto input, turning on the opto output which pulls the FET drive low which turns off the FET.? The R17 resistor pulls the signal high and this into the op amp buffer results in 10V out the PWM pin.

?

And in between we get a varying voltage now.

?

Updated schematic attached.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: March-17-23 6:40 PM
To: [email protected]
Subject: Re: [MachCNC] MACH3 and Spindle PWM output

?

I set up an older PC that had MACH2 since it has a parallel port.? Installed MACH3 on it and just got things rolling.? Need to bring the scope over.? With the meter it looks like it's all working correctly but hard to tell.

?

Have to run out for a while but I'll report back with the details.


Re: *.dxf to G-Code

 

开云体育

CAMBAM does the trick


On 18.03.23 14:03, Jeffrey Cole via groups.io wrote:

How can a DXF file be converted to a G-Code file?? My computer hard drive crashed and I lost a lot of data. I thought I had backup files of everything, but I had a bad disc and lost some files and apps. I installed DXF to G-Code Converter but it has a glitch and does not work. I could use the CAD file and spend hours writing the line code, but that is too time consuming. I would appreciate the info to convert DXF to G-Code.?


Re: *.dxf to G-Code

 

开云体育

I use Sheetcam as well. Worth every penny.

?

Andy Wander

?

From: [email protected] <[email protected]> On Behalf Of Stephen Muscato via groups.io
Sent: Saturday, March 18, 2023 7:11 PM
To: [email protected]
Subject: Re: [MachCNC] *.dxf to G-Code

?

I use Sheetcam

?

?

On Saturday, March 18, 2023 at 08:03:54 AM CDT, Jeffrey Cole via groups.io <colejeffrey26@...> wrote:

?

?

How can a DXF file be converted to a G-Code file?? My computer hard drive crashed and I lost a lot of data. I thought I had backup files of everything, but I had a bad disc and lost some files and apps. I installed DXF to G-Code Converter but it has a glitch and does not work. I could use the CAD file and spend hours writing the line code, but that is too time consuming. I would appreciate the info to convert DXF to G-Code.?


Re: *.dxf to G-Code

 

I use Sheetcam


On Saturday, March 18, 2023 at 08:03:54 AM CDT, Jeffrey Cole via groups.io <colejeffrey26@...> wrote:


How can a DXF file be converted to a G-Code file?? My computer hard drive crashed and I lost a lot of data. I thought I had backup files of everything, but I had a bad disc and lost some files and apps. I installed DXF to G-Code Converter but it has a glitch and does not work. I could use the CAD file and spend hours writing the line code, but that is too time consuming. I would appreciate the info to convert DXF to G-Code.?


Re: *.dxf to G-Code

 

开云体育

You can import DXF files into UCCNC and in turn generate GCode (using their CAM option). A free demo version would prove whether it worked, maybe.

?

?

From: [email protected] <[email protected]> On Behalf Of o1bigtenor
Sent: 18 March 2023 14:50
To: [email protected]
Subject: Re: [MachCNC] *.dxf to G-Code

?

?

?

On Sat, Mar 18, 2023 at 8:53?AM Dave Reichert <reichert.dave@...> wrote:

?

?

Dunno what was sent - - - all I get is a blank blob.?

?

Please

?

TIA


Re: *.dxf to G-Code

 



On Sat, Mar 18, 2023 at 8:53?AM Dave Reichert <reichert.dave@...> wrote:

?


Dunno what was sent - - - all I get is a blank blob.?

Please

TIA


Re: *.dxf to G-Code

 

Load your DXF file into fusion 360 then use the post processor for your your particular machine. If your machine is not identified, normally a generic PP will work.

-sent from my iphone --


Re: *.dxf to G-Code

 

开云体育

?

Sent from for Windows

?

From: Jeffrey Cole via groups.io
Sent: Saturday, March 18, 2023 9:03 AM
To: [email protected]
Subject: [MachCNC] *.dxf to G-Code

?

How can a DXF file be converted to a G-Code file?? My computer hard drive crashed and I lost a lot of data. I thought I had backup files of everything, but I had a bad disc and lost some files and apps. I installed DXF to G-Code Converter but it has a glitch and does not work. I could use the CAD file and spend hours writing the line code, but that is too time consuming. I would appreciate the info to convert DXF to G-Code.?

?


*.dxf to G-Code

 

How can a DXF file be converted to a G-Code file?? My computer hard drive crashed and I lost a lot of data. I thought I had backup files of everything, but I had a bad disc and lost some files and apps. I installed DXF to G-Code Converter but it has a glitch and does not work. I could use the CAD file and spend hours writing the line code, but that is too time consuming. I would appreciate the info to convert DXF to G-Code.?


Re: MACH3 and Spindle PWM output

 

开云体育

Ah.? Got it.? I've attached the updated drawing of the MACH3 Break Out Board from China.? My apologies to anyone who might have been confused by the schematic.

?

The error is that I thought the P1 pin was driving the opto rather than what it really is doing is sinking current.? To make that work with MACH3 as the PWM, the Output Step line, which is P1, has to be inverted.

?

So parameters are:? Spindle Step pulse P1, Spindle Direction P17 (which drives the relay on the board), Spindle Step pulse is inverted.

On the spindle setup screen the Use Spindle Output is checked along with PWM Control.

?

Now when the P1 signal is logic high the opto output is off and a resistor pulls the input to the FET high which then turns on the FET which pulls the input to the opto buffer low and the PWM output is low.

?

At 3000 RPM (Pulley #1 max speed) there's barely a pulse and the P1 is virtually low all the time pulling current through the opto input, turning on the opto output which pulls the FET drive low which turns off the FET.? The R17 resistor pulls the signal high and this into the op amp buffer results in 10V out the PWM pin.

?

And in between we get a varying voltage now.

?

Updated schematic attached.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: March-17-23 6:40 PM
To: [email protected]
Subject: Re: [MachCNC] MACH3 and Spindle PWM output

?

I set up an older PC that had MACH2 since it has a parallel port.? Installed MACH3 on it and just got things rolling.? Need to bring the scope over.? With the meter it looks like it's all working correctly but hard to tell.

?

Have to run out for a while but I'll report back with the details.


Re: MACH3 and Spindle PWM output

 

开云体育

I set up an older PC that had MACH2 since it has a parallel port.? Installed MACH3 on it and just got things rolling.? Need to bring the scope over.? With the meter it looks like it's all working correctly but hard to tell.

?

Have to run out for a while but I'll report back with the details.

?

And no, not using the PMDX-107.? An external PWM to 10V module.

?

Thanks for the feedback.

John

?

From: [email protected] [mailto:[email protected]] On Behalf Of Steve Stallings
Sent: March-17-23 5:14 PM
To: [email protected]
Subject: Re: [MachCNC] MACH3 and Spindle PWM output

?

If you are using a PMDX-107 with your PMDX-126, then it sounds like you have the signals on the wrong pins.

The PMDX-107 expects the PWM signal on Pin 16 and the Direction signal on Pin 14. Optionally the PMDX-107 can also monitor the Pin 17 "Charge Pump" as a safety measure.

When using the PMDX-107 you do not need a "Motor ON" signal, the PMDX-107 monitors the PWM and turns the motor on when the PWM is pulsing. There is one quirk that can happen. If the S command asks for exactly the maximum for a pulley, Mach3 will generate a solid signal that never pulses if using the parallel port driver. In this case the PMDX-107 does not see any pulses and does not turn on. Not sure is this is also true for a SmoothStepper. Work around for this is to make your max for the pulley be 1 more RPM that the highest S command that you issue, i.e. for a 24000 RPM router spindle set the pulley max range to 24001.


Re: MACH3 and Spindle PWM output

 

If you are using a PMDX-107 with your PMDX-126, then it sounds like you have the signals on the wrong pins.

The PMDX-107 expects the PWM signal on Pin 16 and the Direction signal on Pin 14. Optionally the PMDX-107 can also monitor the Pin 17 "Charge Pump" as a safety measure.

When using the PMDX-107 you do not need a "Motor ON" signal, the PMDX-107 monitors the PWM and turns the motor on when the PWM is pulsing. There is one quirk that can happen. If the S command asks for exactly the maximum for a pulley, Mach3 will generate a solid signal that never pulses if using the parallel port driver. In this case the PMDX-107 does not see any pulses and does not turn on. Not sure is this is also true for a SmoothStepper. Work around for this is to make your max for the pulley be 1 more RPM that the highest S command that you issue, i.e. for a 24000 RPM router spindle set the pulley max range to 24001.


Re: MACH3 and Spindle PWM output

 

开云体育

Yes.? I did that.? I have Pulley #1 set to 3000 RPM? (ratio is 1).? In the Settings (ALT6) screen I have Pulley #1 selected.

So theoretically if I ask for S3000 M3 I should see 100% PWM out to pin 14 and at 100% PWM theoretically that pin should be continuously high which should light the LED.? Especially with only 5kHz PWM.

?

It's not.

?

I guess it's scope time.? ?Unless there are some other suggestions.? I get the feeling it's going to be a really dumb mistake.

?

From: [email protected] [mailto:[email protected]] On Behalf Of Steve Stallings
Sent: March-17-23 4:43 PM
To: [email protected]
Subject: Re: [MachCNC] MACH3 and Spindle PWM output

?

In Mach3 go to:

>Config

>Spindle Pulleys


Re: MACH3 and Spindle PWM output

 

In Mach3 go to:

>Config

>Spindle Pulleys


MACH3 and Spindle PWM output

 

开云体育

I may have to pull out the scope but I'm having trouble with the PWM output from MACH3 to a USB Smooth Stepper.

?

I have the Spindle set in Motor Outputs to pin 14 Port 1 and Direction set to Pin 16 Port 1.

Under the Spindle Setup I have Use Spindle Motor Output and Use PWM control.? I have the Motor Spindle Relays disabled.

?

The USB Smooth Stepper is plugged into a PMDX-125 BoB.? There is an LED on pin 14 and pin 16.? When I have the Spindle configured to use relays and switch on the spindle the Pin14 LED comes on.? If I have the spindle configured to not use relays and instead do the PWM at 100% PWM or full speed I should see the LED pretty well full on.

?

And here's the issue I think I'm having.? How does the system know what full speed is?? Which parameter is that?

Ie.? If I do a Gcode S1000 M5 I see the spindle activity button blink and I see 1000 RPM in the speed set info on the main screen.? But no LED ON at pin 14.

?

So how does MACH3 know that 100% is the same as say 1000 RPM?

Thanks

John