3D model STEP-VRML conversion problem SOLVED

From DIY contraptions to sophisticated FreeEMS-specific designs! Plus general hardware development!
Post Reply
User avatar
KW1252
LQFP112 - Up with the play
Posts: 166
Joined: Tue Jan 15, 2008 5:31 pm

3D model STEP-VRML conversion problem SOLVED

Post by KW1252 »

I think I made the breakthrough on how to convert usual manufacturer supplied STEP files into VRML with pure OSS solution.

The key is Gmsh meshing software, available here:

http://www.geuz.org/gmsh/

It's available as binaries and source. It seems to work great, if a bit slow. It outputs both VRML directly and STL with all bodies included, if tweaking in Wings3d is preferred (the software does have geometry manipulators on it's own)

The workflow goes like this:

Open model
(wait until it's loaded, may take some time)
set element size, the button on lower left corner with two triangles; I found 0.1 - 0.15 suitable for the Cinch enclosure.
Mesh the geometry with the 3D button
(again may take some time)
Save as ... (VRML ASCII or STL Binary)

...and done!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 3D model STEP-VRML conversion problem SOLVED

Post by Fred »

Cool! :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
KW1252
LQFP112 - Up with the play
Posts: 166
Joined: Tue Jan 15, 2008 5:31 pm

Re: 3D model STEP-VRML conversion problem SOLVED

Post by KW1252 »

Lukewarm at best :)

It's still one huge workaround, and no conversion program will ever fully solve the issue like native support would.
User avatar
KW1252
LQFP112 - Up with the play
Posts: 166
Joined: Tue Jan 15, 2008 5:31 pm

Re: 3D model STEP-VRML conversion problem SOLVED

Post by KW1252 »

A much better solution has emerged:

free-cad has gained good meshing tools.

The method:
Open file into freecad
switch to mesh editing mode
select the geometry you want meshed from the tree at the left
from Meshes pulldown menu, choose Create mesh from geometry; you'll be given a prompt on mesh density

...and now you have a nice meshed object :) Freecad's mesher does a hell of a lot nicer job than Gmsh too.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 3D model STEP-VRML conversion problem SOLVED

Post by Fred »

Sweet! :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply