You could try the OpenSCAD import in FreeCAD. It's still one way (making
exports to IGES and/or STEP etc.
Post by Taylor AlexanderMarius - thanks for explaining the issue! Now that I have some
understanding, it may be easier to solve. I have a friend who has a
vested interest in improving FLOSS CAD, so maybe I'll run that by him.
One question - would it be plausible to partially implement arcs? For
example, could the code be designed so that unsupported operations
with curved surfaces simply fail, leaving it up to the user to get it
right? That could be useful for introducing arcs as an alpha feature
for testing.
I use the DXF export to route things so it is possible to do "real
engineering and machining". You just have to set the $fa small
enough so the facets aren't noticeable.
It's possible to do "real engineering" with OpenSCAD, but not as
convenient as it could be if we had arcs. Technically it's possible to
do "real engineering' with popsicle sticks too. OpenSCAD is a 3D
modeller and for you it's useful for 2D stuff, so that's not the most
reassuring. If you actually want to use OpenSCAD as a real 3D
modelling program and hope to have any interoperability with other CAD
or CAM systems, it's a PITA. And interoperability is pretty important
in "real" CAD systems. Not day to day, but sometimes - and it can be a
huge issue when it's not easy.
I made a modification to Wade's extruder using OpenSCAD and Solidworks
mixed together (did the whole Wades mod in OpenSCAD and built the rest
of the assembly in Solidworks, importing the Wades part), and only
being able to import STL is *awful*. When you import an STL into
Solidworks versus an IGES file of the same part, here's what you can't
- select the center or any quadrant of an arc
- select an entire face in one click
- select an entire edge with one click
- draw a line tangent to an arc
- mate two concentric arcs in an assembly (used ALL THE TIME for
assemblies that screw together)
- mate two arcs as tangent in an assembly
Doing any of the above requires that you first draw some construction
geometry, set reference planes/axes, or in many cases tediously select
many facets of something in order to convert it to features that
solidworks can use. What's worse, all that construction geometry that
you had to take time drawing just to work with the part usually all
has to be recreated from scratch if you need to make a change to the
OpenSCAD part and re-import it.
Those same limitations above also mean it's often a PITA if you want
to CNC machine something designed in OpenSCAD.
If your CAD system can't interoperate with professional engineering
CAD systems on at least a basic level (the current state of affairs
means interoperability is still just dumb solids like IGES or STEP,
but IGES is worlds better to work with than STL), it's hard to take
all the great open source stuff people have done with OpenSCAD and
actually use it in a professional setting, even if the creator allows
or even wanted this to be the case.
Basically, OpenSCAD shares at least one of the major drawbacks of
mesh-based modelling programs that solid-based modelling programs like
OpenSCAD aren't supposed to have. Meshes are for art, solids are for
engineering (generally). A solid CAD modeller that can only export
meshes is not going to be *nearly* as useful in a professional setting
as one that can export solids.
Which is too bad - there's a lot of great stuff done in OpenSCAD that
is open source, and it would be great if anyone in the community could
use it, not just people who have learned OpenSCAD (I can dabble but
*man* is solidworks easier for me).
Post by Taylor AlexanderI still wish it supported arcs. If it did, it could export
to IGES and DXF and the files would actually be useful for
real engineering and machining, not just tinkering and 3D
printing. Apparent IGES is a CSG based format or whatever, so
some chatter back when I joined the list seemed to think it's
possible. True arcs could be defined by setting facets to zero
or by leaving out that parameter (though I think that's already used?).
The issue is not the format used, but the geometry engine
which does the calculations.
We're using an engine called CGAL, which operates on a
polygonal level.
There are other engines out there, but most such engines are
commercial and not possible to license for use in an Open
Source program like OpenSCAD (in addition to being
prohibitively expensive). One free alternative is OpenCascade,
but as far as I understand, they also do all CSG operations on
triangle meshes, not smooth curves and surfaces.
We're constantly on the lookout for better engines (this is
the holy grail of CAD software), so any suggestions are welcome!
-Marius
_______________________________________________
OpenSCAD mailing list
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566