Hi Maurice,
What software did you use for the translation? Was that direct from
STEP/IGES to VRML or was that the post-processing of an OCE VRML file?
- Cirilo
On Thu, Feb 18, 2016 at 7:43 PM, easyw <easyw@xxxxxxxxxxxx
<mailto:easyw@xxxxxxxxxxxx>> wrote:
Hi Cirilo,
I had to translate all the objects by an external VRML parser/builder.
I didn't used OCE at all. Everything internal would have been quite
big/messy and without control.
M
On 18/02/2016 08.17, Cirilo Bernardo wrote:
Hi Maurice,
How do you use OCE to convert to VRML and to clean up the output?
I'm thinking of implementing a 3D Plugin for STEP/IGES using
OCE and I
want to look at the possibilities for creating the kicad internal 3D
representation (SG* classes in the new 3D branches).
Unfortunately OCE
doesn't seem to have any very convenient mechanisms for this; at the
moment I'm thinking the simplest is to ask OCE to create a VRML
structure in memory and to use the VRML parser to read this. The
better
alternative (which requires more programming of course) is to
implement
a translator similar to OCE's VRML translator which will translate
directly to kicad's SG* classes.
- Cirilo