[Emc-users] hal - bldc - linear motor

2013-02-21 Thread Klemen Dovrtel
Hello everybody, I would like to control the linear ac motor using bldc hal component.  1. I am not sure how should i set the: bldc.N.scale s32 rw = The number of encoder counts per rotor revolution. bldc.N.poles s32 rw = The number of motor poles. The encoder scale will be divided by this

Re: [Emc-users] hal - bldc - linear motor

2013-02-21 Thread Ralph Stirling
Hi Klemen, I worked on a similar project last summer. My motor was two pole. It had four magnets over 100mm length, and three coils over that length. I used Austria Microsystems AS5311 linear magnetic encoders, which gave me 512 quadrature counts per mm. I did not use the index pulse, as it

Re: [Emc-users] hal - bldc - linear motor

2013-02-21 Thread Peter C. Wallace
On Thu, 21 Feb 2013, Klemen Dovrtel wrote: Date: Thu, 21 Feb 2013 00:12:21 -0800 (PST) From: Klemen Dovrtel klemen_dovr...@yahoo.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] hal - bldc - linear motor Hello everybody, I would like to control the

[Emc-users] Regarding OpenSCAD

2013-02-21 Thread Cogoman
From a post on hackaday I got the impression OpenSCAD might be just what I need to generate G-CODE, but I find more information on 3-D printing G-CODE than routing. Am I suppose to export my project as a DXF, and then use DXF2GCODE, or is there another way usually used to get G-CODE for a

Re: [Emc-users] Regarding OpenSCAD

2013-02-21 Thread John Murphy
openscad is good for creating models, but it won't create gcode. openscam is great for viewing the output of g-code. On Thu, Feb 21, 2013 at 10:04 AM, Cogoman cogo...@optimum.net wrote: From a post on hackaday I got the impression OpenSCAD might be just what I need to generate G-CODE, but I

Re: [Emc-users] Regarding OpenSCAD

2013-02-21 Thread Sebastian Kuzminsky
On 02/21/2013 10:58 AM, John Murphy wrote: openscad is good for creating models, but it won't create gcode. openscam is great for viewing the output of g-code. On Thu, Feb 21, 2013 at 10:04 AM, Cogoman cogo...@optimum.net wrote: From a post on hackaday I got the impression OpenSCAD might be

Re: [Emc-users] Regarding OpenSCAD

2013-02-21 Thread Sebastian Kuzminsky
On 02/21/2013 11:41 AM, Sebastian Kuzminsky wrote: I've used FreeCAD to make drawings for machining before. Export as SVG, import the SVG into PyCAM, and get gcode out of PyCAM to feed to LinuxCNC on my mill. That toolchain is not without its wrinkles and warts, but it can make good parts.

Re: [Emc-users] Regarding OpenSCAD

2013-02-21 Thread N. Christopher Perry
I haven't used openscax, but have had mixed results with PyCAM. For CAD I've been using SolveSpace with nice results. It's a little limited (no helical sweeps and can't import geometry) but I is the only stable open source parametric tool I've found. It can also export G-code, but you still