N
Neon22
Tue, Jul 26, 2016 11:59 PM
The message they are really trying to express is this:
- a triangulated mesh file is not able to be used by them to machine your
part.
- they want a solid model constructed from solid primitives.
Of course you should validate with them that this is correct.
I believe Solidworks might have such a tool but AFAIK it's an open problem
to convert an arbitrary mesh to a booleaned set of solid primitives. AFAIK
this hasn't been solved yet. But I'm happy to accept solidworks has a
solution.
So what they are saying they want - is a model in STEP format comprised of
solids.
OpenSCAD has no STEP exporter.
FreeCAD - do not know but suspect you would have to remodel in this, or any
of the other suitable CAD packages.
The FreeCAD openSCAD importer does look like it does the right thing but as
other commenters have said - you can't use the more idiosyncratic prims like
hull. Must be straight solid prims and boolean ops only.
--
View this message in context: http://forum.openscad.org/need-a-non-STL-file-format-tp17989p18000.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
The message they are really trying to express is this:
- a triangulated mesh file is not able to be used by them to machine your
part.
- they want a solid model constructed from solid primitives.
Of course you should validate with them that this is correct.
I believe Solidworks might have such a tool but AFAIK it's an open problem
to convert an arbitrary mesh to a booleaned set of solid primitives. AFAIK
this hasn't been solved yet. But I'm happy to accept solidworks has a
solution.
So what they are saying they want - is a model in STEP format comprised of
solids.
OpenSCAD has no STEP exporter.
FreeCAD - do not know but suspect you would have to remodel in this, or any
of the other suitable CAD packages.
The FreeCAD openSCAD importer does look like it does the right thing but as
other commenters have said - you can't use the more idiosyncratic prims like
hull. Must be straight solid prims and boolean ops only.
--
View this message in context: http://forum.openscad.org/need-a-non-STL-file-format-tp17989p18000.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
N
Neon22
Wed, Jul 27, 2016 12:18 AM
OK. just tried the procedure using FreeCAD - works remarkably well.
- Loaded the openscad file into openscad and saved as csg.
- Downloaded freecad 0.15 - I'm on windows - can't speak for other
platforms.
- Followed instructions here:
http://www.freecadweb.org/wiki/index.php?title=Import_OpenSCAD_code
- started FreeCAD 0.15
- Edited preferences and under Openscad - told it where the openscad binary
was.
- Changed to openscad workbench
- Opened the csg file previously saved
- appears as a nice set of primitives (I had a nicely behaved file made out
of cubes, using difference and mirror ops)
- Exported as STP file
Resulting stp file is indeed made of primitives and not a polygon mesh.
High probability this would convert OK.
@jon_bondy if you can't get it to work - PM me and I'll have a go for you.
--
View this message in context: http://forum.openscad.org/need-a-non-STL-file-format-tp17989p18001.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OK. just tried the procedure using FreeCAD - works remarkably well.
1. Loaded the openscad file into openscad and saved as csg.
2. Downloaded freecad 0.15 - I'm on windows - can't speak for other
platforms.
3. Followed instructions here:
http://www.freecadweb.org/wiki/index.php?title=Import_OpenSCAD_code
4. started FreeCAD 0.15
4. Edited preferences and under Openscad - told it where the openscad binary
was.
5. Changed to openscad workbench
6. Opened the csg file previously saved
7. appears as a nice set of primitives (I had a nicely behaved file made out
of cubes, using difference and mirror ops)
8. Exported as STP file
Resulting stp file is indeed made of primitives and not a polygon mesh.
High probability this would convert OK.
@jon_bondy if you can't get it to work - PM me and I'll have a go for you.
--
View this message in context: http://forum.openscad.org/need-a-non-STL-file-format-tp17989p18001.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jon
Wed, Jul 27, 2016 12:24 AM
Thanks SO much! I will get back to you once I've had time to repeat
your steps!
On 7/26/2016 8:18 PM, Neon22 wrote:
Thanks SO much! I will get back to you once I've had time to repeat
your steps!
On 7/26/2016 8:18 PM, Neon22 wrote:
> OK. just tried the procedure using FreeCAD - works remarkably well.
> 1. Loaded the openscad file into openscad and saved as csg.
> 2. Downloaded freecad 0.15 - I'm on windows - can't speak for other
> platforms.
> 3. Followed instructions here:
> http://www.freecadweb.org/wiki/index.php?title=Import_OpenSCAD_code
> 4. started FreeCAD 0.15
> 4. Edited preferences and under Openscad - told it where the openscad binary
> was.
> 5. Changed to openscad workbench
> 6. Opened the csg file previously saved
> 7. appears as a nice set of primitives (I had a nicely behaved file made out
> of cubes, using difference and mirror ops)
> 8. Exported as STP file
>
> Resulting stp file is indeed made of primitives and not a polygon mesh.
> High probability this would convert OK.
>
> @jon_bondy if you can't get it to work - PM me and I'll have a go for you.
>
>
>
> --
> View this message in context: http://forum.openscad.org/need-a-non-STL-file-format-tp17989p18001.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.7690 / Virus Database: 4627/12688 - Release Date: 07/26/16
>
>
MK
Marius Kintel
Mon, Sep 19, 2016 2:45 AM
On Jul 26, 2016, at 20:24, jon jon@jonbondy.com wrote:
Thanks SO much! I will get back to you once I've had time to repeat your steps!
Please keep us updated!
It would be interesting to learn what specific subset of STEP they support.
If you know anything about which software they use on their end to import these files, we could take note of that in future documentation.
-Marius
> On Jul 26, 2016, at 20:24, jon <jon@jonbondy.com> wrote:
>
> Thanks SO much! I will get back to you once I've had time to repeat your steps!
>
Please keep us updated!
It would be interesting to learn what specific subset of STEP they support.
If you know anything about which software they use on their end to import these files, we could take note of that in future documentation.
-Marius
BK
Bogdan Kecman
Mon, Sep 19, 2016 4:00 AM
On 7/27/2016 2:24 AM, jon wrote:
Thanks SO much! I will get back to you once I've had time to repeat
your steps!
freecad is under development so best way to help, if your file is not
loading properly when you open it in freecad is to report a bug :)
as for why that company want "real" solid model (when you convert mesh
to solid it often stays mesh only in solid file format, but it is not a
solid) is that when you give them a mesh (irrelevant in what file
format) their software can't extract properly volume, problematic areas
(too small to "work", impossible to remove from mold etc..), as all
functions expect a proper solid and not a mesh. Some apps do work with
mesh too but most require proper solid (just like old cam sw's didn't
want to accept mesh and required solids)
On 7/27/2016 2:24 AM, jon wrote:
> Thanks SO much! I will get back to you once I've had time to repeat
> your steps!
freecad is under development so best way to help, if your file is not
loading properly when you open it in freecad is to report a bug :)
as for why that company want "real" solid model (when you convert mesh
to solid it often stays mesh only in solid file format, but it is not a
solid) is that when you give them a mesh (irrelevant in what file
format) their software can't extract properly volume, problematic areas
(too small to "work", impossible to remove from mold etc..), as all
functions expect a proper solid and not a mesh. Some apps do work with
mesh too but most require proper solid (just like old cam sw's didn't
want to accept mesh and required solids)
NH
nop head
Mon, Sep 19, 2016 6:52 AM
What is the definition of a "real" solid here? Does OpenScad even have them
to export? It works with polyhedra and when they are manifold the STL files
doesn't lose anything anyway.
On 19 September 2016 at 05:00, Bogdan Kecman arhi.smece@gmail.com wrote:
On 7/27/2016 2:24 AM, jon wrote:
Thanks SO much! I will get back to you once I've had time to repeat
your steps!
freecad is under development so best way to help, if your file is not
loading properly when you open it in freecad is to report a bug :)
as for why that company want "real" solid model (when you convert mesh
to solid it often stays mesh only in solid file format, but it is not a
solid) is that when you give them a mesh (irrelevant in what file
format) their software can't extract properly volume, problematic areas
(too small to "work", impossible to remove from mold etc..), as all
functions expect a proper solid and not a mesh. Some apps do work with
mesh too but most require proper solid (just like old cam sw's didn't
want to accept mesh and required solids)
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
What is the definition of a "real" solid here? Does OpenScad even have them
to export? It works with polyhedra and when they are manifold the STL files
doesn't lose anything anyway.
On 19 September 2016 at 05:00, Bogdan Kecman <arhi.smece@gmail.com> wrote:
> On 7/27/2016 2:24 AM, jon wrote:
> > Thanks SO much! I will get back to you once I've had time to repeat
> > your steps!
>
> freecad is under development so best way to help, if your file is not
> loading properly when you open it in freecad is to report a bug :)
>
> as for why that company want "real" solid model (when you convert mesh
> to solid it often stays mesh only in solid file format, but it is not a
> solid) is that when you give them a mesh (irrelevant in what file
> format) their software can't extract properly volume, problematic areas
> (too small to "work", impossible to remove from mold etc..), as all
> functions expect a proper solid and not a mesh. Some apps do work with
> mesh too but most require proper solid (just like old cam sw's didn't
> want to accept mesh and required solids)
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
A
arnholm@arnholm.org
Mon, Sep 19, 2016 7:42 AM
On 2016-09-19 08:52, nop head wrote:
What is the definition of a "real" solid here?
FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would
mean a native CAD geometry/topology model with separate geometry
(point,curve,surface and more) and topology (vertex,edge,face,body and
more), like you have in OpenCasCade or ACIS. I have used both in the
past, but I am more familiar with ACIS. I guess in practical terms a
"real" solid could be exported like a STEP (AP214?) or an ACIS .sat
file. The difference from OpenSCAD is that these model representations
are not polyhedron based. In ACIS a solid would correspond to a BODY or
a LUMP.
Does OpenScad even have them to export?
It works with polyhedra and when they are manifold the
STL files doesn't lose anything anyway.
It will not work in general to convert from any mesh based
representation into OpenCasCade or ACIS, as the model representations
are very different.
Carsten Arnholm
On 2016-09-19 08:52, nop head wrote:
> What is the definition of a "real" solid here?
FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would
mean a native CAD geometry/topology model with separate geometry
(point,curve,surface and more) and topology (vertex,edge,face,body and
more), like you have in OpenCasCade or ACIS. I have used both in the
past, but I am more familiar with ACIS. I guess in practical terms a
"real" solid could be exported like a STEP (AP214?) or an ACIS .sat
file. The difference from OpenSCAD is that these model representations
are not polyhedron based. In ACIS a solid would correspond to a BODY or
a LUMP.
> Does OpenScad even have them to export?
Not a chance, except if you go the indirect route via .csg as previously
discussed and export primitives only. Then the receiving end can build
the geometry/topology from those. The problem is that you are limited to
a few primitives only, and things like hull or minkowski would
definitely break it. In ACIS you have
http://p.blog.csdn.net/images/p_blog_csdn_net/feijj2002_/153762/o_solid17.bmp
or rather, in more realistic detail
http://images.cppblog.com/cppblog_com/eryar/Windows-Live-Writer/Topology-and-Geometry-in-OpenCascade-Top_D29F/wps_clip_image-8073_thumb.png?_=1993008393
> It works with polyhedra and when they are manifold the
> STL files doesn't lose anything anyway.
It will not work in general to convert from any mesh based
representation into OpenCasCade or ACIS, as the model representations
are very different.
Carsten Arnholm
MS
Mark Schafer
Mon, Sep 19, 2016 8:20 AM
what is meant (generally) by solid model is that it is made from
primitives which are mathematical entities. A collection of polygons
does not fall into this def. Here's why they do this:
From a pragmatic point of view its because of this:
- the solids and surfaces that a CAD system uses need to be able to have
a number of operators performed on them which are continuous and give
'clean' results. (Yes I'm using all sorts of uselessly vague words. Try
to grasp what I'm getting at.)
E.g. Calculating a tangent so the forces on a tool path can be
calculated. A collection of polygons does not have a "smooth" (yes I
know) result so interpolation algorithms and other aspects give ill
defined results in some circumstances.
So the CAD systems have defined a number of primitives which have well
exercised and resolved solutions to all of the manipulations they want
to do. OpenCASCADE, Solidworks, ProE, ACIS have what they refer to as
solids kernels which resolve all questions for interesctions etc.
Polygons make poor long path trajectories for entities like an Arc
because they approximate an Arc, whereas one of the Arc representations
will produce a smooth curve at CAM toolpath time, or Forces at
simulation time.
so forget words like "real" solids etc etc. Its a pragmatic reduced set
of well exercised parametric, math based, solid curve and surface
representations that they need.
On 9/19/2016 7:42 PM, arnholm@arnholm.org wrote:
On 2016-09-19 08:52, nop head wrote:
What is the definition of a "real" solid here?
FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would
mean a native CAD geometry/topology model with separate geometry
(point,curve,surface and more) and topology (vertex,edge,face,body and
more), like you have in OpenCasCade or ACIS. I have used both in the
past, but I am more familiar with ACIS. I guess in practical terms a
"real" solid could be exported like a STEP (AP214?) or an ACIS .sat
file. The difference from OpenSCAD is that these model representations
are not polyhedron based. In ACIS a solid would correspond to a BODY
or a LUMP.
Does OpenScad even have them to export?
It works with polyhedra and when they are manifold the
STL files doesn't lose anything anyway.
what is meant (generally) by solid model is that it is made from
primitives which are mathematical entities. A collection of polygons
does not fall into this def. Here's why they do this:
From a pragmatic point of view its because of this:
- the solids and surfaces that a CAD system uses need to be able to have
a number of operators performed on them which are continuous and give
'clean' results. (Yes I'm using all sorts of uselessly vague words. Try
to grasp what I'm getting at.)
E.g. Calculating a tangent so the forces on a tool path can be
calculated. A collection of polygons does not have a "smooth" (yes I
know) result so interpolation algorithms and other aspects give ill
defined results in some circumstances.
So the CAD systems have defined a number of primitives which have well
exercised and resolved solutions to all of the manipulations they want
to do. OpenCASCADE, Solidworks, ProE, ACIS have what they refer to as
solids kernels which resolve all questions for interesctions etc.
Polygons make poor long path trajectories for entities like an Arc
because they approximate an Arc, whereas one of the Arc representations
will produce a smooth curve at CAM toolpath time, or Forces at
simulation time.
so forget words like "real" solids etc etc. Its a pragmatic reduced set
of well exercised parametric, math based, solid curve and surface
representations that they need.
On 9/19/2016 7:42 PM, arnholm@arnholm.org wrote:
> On 2016-09-19 08:52, nop head wrote:
>> What is the definition of a "real" solid here?
>
> FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would
> mean a native CAD geometry/topology model with separate geometry
> (point,curve,surface and more) and topology (vertex,edge,face,body and
> more), like you have in OpenCasCade or ACIS. I have used both in the
> past, but I am more familiar with ACIS. I guess in practical terms a
> "real" solid could be exported like a STEP (AP214?) or an ACIS .sat
> file. The difference from OpenSCAD is that these model representations
> are not polyhedron based. In ACIS a solid would correspond to a BODY
> or a LUMP.
>
>> Does OpenScad even have them to export?
>
> Not a chance, except if you go the indirect route via .csg as
> previously discussed and export primitives only. Then the receiving
> end can build the geometry/topology from those. The problem is that
> you are limited to a few primitives only, and things like hull or
> minkowski would definitely break it. In ACIS you have
>
> http://p.blog.csdn.net/images/p_blog_csdn_net/feijj2002_/153762/o_solid17.bmp
>
>
> or rather, in more realistic detail
>
> http://images.cppblog.com/cppblog_com/eryar/Windows-Live-Writer/Topology-and-Geometry-in-OpenCascade-Top_D29F/wps_clip_image-8073_thumb.png?_=1993008393
>
>
>
>> It works with polyhedra and when they are manifold the
>> STL files doesn't lose anything anyway.
>
> It will not work in general to convert from any mesh based
> representation into OpenCasCade or ACIS, as the model representations
> are very different.
>
> Carsten Arnholm
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.7797 / Virus Database: 4656/13042 - Release Date:
> 09/18/16
>
>
NH
nop head
Mon, Sep 19, 2016 8:35 AM
Well you are never going to get that out of OpenScad because it converts to
polyhedra before doing any operations and a lot of designs generate their
own polyhedra programmatically.
On 19 September 2016 at 09:20, Mark Schafer mschafer@wireframe.biz wrote:
what is meant (generally) by solid model is that it is made from
primitives which are mathematical entities. A collection of polygons does
not fall into this def. Here's why they do this:
From a pragmatic point of view its because of this:
- the solids and surfaces that a CAD system uses need to be able to have a
number of operators performed on them which are continuous and give 'clean'
results. (Yes I'm using all sorts of uselessly vague words. Try to grasp
what I'm getting at.)
E.g. Calculating a tangent so the forces on a tool path can be
calculated. A collection of polygons does not have a "smooth" (yes I know)
result so interpolation algorithms and other aspects give ill defined
results in some circumstances.
So the CAD systems have defined a number of primitives which have well
exercised and resolved solutions to all of the manipulations they want to
do. OpenCASCADE, Solidworks, ProE, ACIS have what they refer to as solids
kernels which resolve all questions for interesctions etc.
Polygons make poor long path trajectories for entities like an Arc because
they approximate an Arc, whereas one of the Arc representations will
produce a smooth curve at CAM toolpath time, or Forces at simulation time.
so forget words like "real" solids etc etc. Its a pragmatic reduced set of
well exercised parametric, math based, solid curve and surface
representations that they need.
On 9/19/2016 7:42 PM, arnholm@arnholm.org wrote:
On 2016-09-19 08:52, nop head wrote:
What is the definition of a "real" solid here?
FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would mean
a native CAD geometry/topology model with separate geometry
(point,curve,surface and more) and topology (vertex,edge,face,body and
more), like you have in OpenCasCade or ACIS. I have used both in the past,
but I am more familiar with ACIS. I guess in practical terms a "real" solid
could be exported like a STEP (AP214?) or an ACIS .sat file. The difference
from OpenSCAD is that these model representations are not polyhedron based.
In ACIS a solid would correspond to a BODY or a LUMP.
Does OpenScad even have them to export?
Not a chance, except if you go the indirect route via .csg as previously
discussed and export primitives only. Then the receiving end can build the
geometry/topology from those. The problem is that you are limited to a few
primitives only, and things like hull or minkowski would definitely break
it. In ACIS you have
http://p.blog.csdn.net/images/p_blog_csdn_net/feijj2002_/153
762/o_solid17.bmp
or rather, in more realistic detail
http://images.cppblog.com/cppblog_com/eryar/Windows-Live-
Writer/Topology-and-Geometry-in-OpenCascade-Top_D29F/wps_
clip_image-8073_thumb.png?_=1993008393
It works with polyhedra and when they are manifold the
STL files doesn't lose anything anyway.
Well you are never going to get that out of OpenScad because it converts to
polyhedra before doing any operations and a lot of designs generate their
own polyhedra programmatically.
On 19 September 2016 at 09:20, Mark Schafer <mschafer@wireframe.biz> wrote:
> what is meant (generally) by solid model is that it is made from
> primitives which are mathematical entities. A collection of polygons does
> not fall into this def. Here's why they do this:
>
> From a pragmatic point of view its because of this:
> - the solids and surfaces that a CAD system uses need to be able to have a
> number of operators performed on them which are continuous and give 'clean'
> results. (Yes I'm using all sorts of uselessly vague words. Try to grasp
> what I'm getting at.)
> E.g. Calculating a tangent so the forces on a tool path can be
> calculated. A collection of polygons does not have a "smooth" (yes I know)
> result so interpolation algorithms and other aspects give ill defined
> results in some circumstances.
>
> So the CAD systems have defined a number of primitives which have well
> exercised and resolved solutions to all of the manipulations they want to
> do. OpenCASCADE, Solidworks, ProE, ACIS have what they refer to as solids
> kernels which resolve all questions for interesctions etc.
>
> Polygons make poor long path trajectories for entities like an Arc because
> they approximate an Arc, whereas one of the Arc representations will
> produce a smooth curve at CAM toolpath time, or Forces at simulation time.
>
> so forget words like "real" solids etc etc. Its a pragmatic reduced set of
> well exercised parametric, math based, solid curve and surface
> representations that they need.
>
>
> On 9/19/2016 7:42 PM, arnholm@arnholm.org wrote:
>
>> On 2016-09-19 08:52, nop head wrote:
>>
>>> What is the definition of a "real" solid here?
>>>
>>
>> FreeCAD uses OpenCasCade I think. I am guessing a "real" solid would mean
>> a native CAD geometry/topology model with separate geometry
>> (point,curve,surface and more) and topology (vertex,edge,face,body and
>> more), like you have in OpenCasCade or ACIS. I have used both in the past,
>> but I am more familiar with ACIS. I guess in practical terms a "real" solid
>> could be exported like a STEP (AP214?) or an ACIS .sat file. The difference
>> from OpenSCAD is that these model representations are not polyhedron based.
>> In ACIS a solid would correspond to a BODY or a LUMP.
>>
>> Does OpenScad even have them to export?
>>>
>>
>> Not a chance, except if you go the indirect route via .csg as previously
>> discussed and export primitives only. Then the receiving end can build the
>> geometry/topology from those. The problem is that you are limited to a few
>> primitives only, and things like hull or minkowski would definitely break
>> it. In ACIS you have
>>
>> http://p.blog.csdn.net/images/p_blog_csdn_net/feijj2002_/153
>> 762/o_solid17.bmp
>>
>> or rather, in more realistic detail
>>
>> http://images.cppblog.com/cppblog_com/eryar/Windows-Live-
>> Writer/Topology-and-Geometry-in-OpenCascade-Top_D29F/wps_
>> clip_image-8073_thumb.png?_=1993008393
>>
>>
>> It works with polyhedra and when they are manifold the
>>> STL files doesn't lose anything anyway.
>>>
>>
>> It will not work in general to convert from any mesh based representation
>> into OpenCasCade or ACIS, as the model representations are very different.
>>
>> Carsten Arnholm
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss@lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2016.0.7797 / Virus Database: 4656/13042 - Release Date: 09/18/16
>>
>>
>>
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>