Hi Gene,

Anno domini 2021 Sun, 21 Mar 16:30:10 -0400
 Gene Heskett scripsit:
> On Sunday 21 March 2021 13:45:20 Dr. Nikolaus Klepp wrote:
> [...]
> The whole openscad -> export menu is ghosted here. Is that nissing python 
> stuff?
> This is also the latest openscad AppImage.
Hm, just tried the Appimage, but nothing is ghosted on my computer and I can 
export my demo. But I usually use openscad from the devuan repositories.

> > > Cheers, Gene Heskett
> >
> > If your Design is 2.5D then you can cut your design in openscad with
> > "projection(cut=true)". 
> 
> I looked that up and its 2d only for the newest Appimage. And what I need
> to do is definitely 3 axis on the mill.
Yes, it creates a 2d dxf. But you can use e.g. CamBam http://cambam.info/ if 
you need pocketing or dxf2gcode to create the toolpaths from the 2d dxf. Well, 
it's a bit strange to create a 3D object, then slice it and recreate it :)

Anyway, this is what I do on easy parts. e.g.:

module demo() {
        difference() {
                cube([100,100,20],center=true);
                translate([0,0,10]) cube([80,80,20],center=true);
                for (i=[0,1,2,3]) rotate([0,0,i*90]) translate([44,44,0]) 
cylinder(d=6,h=30,center=true);
        }
}
%demo();
projection(cut=true) demo();

Now the exported dxf has all the features to create the toolpath for the part.

> > That will give you a DXF that can be fed into 
> > "dxf2gcode". This works for anything with planes parallel to Z (on a
> > mill), but not for angled surfaces.
> >
> > 3D operation with pycam works, but produces most inefficient
> > toolpaths. I was told that FreeCADs "Path"-Workbench is quite usable,
> > but I have never done a piece on myself.
> 
> But it does not import .stl's here.  Needs a ".step" to load it here.
> And if you want to play and learn somehing about freecad, steps are 
> loaded read-only. You can make parts disappear or reappear but you 
> cannot modify anything else.

@Freecad STL import: this is a bit strange, but it works:

Create new body
menu "Import stl"
--> you get "unnamed" - select that
select "Part" workbench
select in menu "Part->create shape from mesh"
--> you get "unnamed001" - select that.
select in menu "Part->convert to solid"
--> you get "unnamed0001(solid)" - select that
select "Part Design" Workbench
select menu "Part->Create body"
--> you get a new body with "Base Feature" beeing the imported stl.
Now delete all things created earlier but the last body: delete "unnamed" 
"unnamed001" "unnamed001(solid)" - if you don't get rid of these you cannot 
modify the imported and coverted stl.

A last you can do whatever you like with the object - e.g. add sketches, use 
the Path workbench ...

Nik

> 
> The latest version of pycam on sourceforge has been converted to 100% 
> python 3. Buster or later, maybe.  I have 6.3 according to synaptic.
> 
> > Nik
> 
> Thank you Nik
> 
> Cheers, Gene Heskett



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to