STEP file converter

STEP file converter

Postby MALAISE » Mon Jul 02, 2012 4:14 pm

Hi All

Facing a small difficulty to import STEP ( Stp ) file, I would ask to our " Code Masters ", if they know
a way to convert this kind of file ?

Many thanks.

Pierre
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: STEP file converter

Postby pilou » Mon Jul 02, 2012 4:42 pm

Use Free-CAD
Import / Export!
STEP, IGES, OBJ, DXF, SVG, STL, DAE, IFC or OFF

Seems you can use some one for SU ;)

Or Moment of inspiration but it's not the same price! ;)
But you can send me the file in MP ;)

The free 123D also ;)
123D can IMPORT (Open) 123D, SKP, SAT,OBJ, DWG (3D solids), STP, 123C (Mesh content).
123D can export (Save As): STL, SAT, DWG, STP and its native 123D. you can also publish an image.
1
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: STEP file converter

Postby MALAISE » Tue Jul 03, 2012 9:53 am

Thanks Pilou,

I'll test freecad and then convert the file. :thumb:

Pierre
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: STEP file converter

Postby chri » Tue Jul 03, 2012 6:45 pm

hello MALAISE

Please , take a look on the next file , it was something i have explain in french forum


It's possible to convert file in IGES STEP SKP STL with free soft and plugins .

STEP file is import with FreeCAD
a backup is done in STL
STL is import in SKETCHUP 8 with plugin jf_stl_importer.rb / Jim Foltz /
cleaning is done with plugin deletecoplanaredges.rb



des conversions sont possibles entre IGES STEP SKP STL
( EN UTILISANT DES LOGICIELS OU PLUGINS GRATUITS )



PREMIER TEST

LES BASES :
-----------
J'avais Autodesk 123D Beta
je viens aussi de télécharger FreeCAD comme me l'a suggéré PILOU .

DETAIL DU TEST EFFECTUE
-----------------------
dessin d'une piéce avec Autodesk 123D Beta
sauvegarde en STEP
( possible directement en STL et IGES )

Import du STEP dans FreeCAD
export en STL
( ce logiciel autorise de nombreuses extensions en import et en export )

import du STL dans SKETCHUP 8
( plugin jf_stl_importer.rb de Jim Foltz )

nettoyage
( plugin deletecoplanaredges.rb )


Le résultat est NICKEL
Le seul souci comme évoqué par PILOU étant la segmentation des cercles et arcs .


BONS TESTS A TOUS
0
Last edited by chri on Tue Jul 03, 2012 7:17 pm, edited 4 times in total.
User avatar
chri 
 

Re: STEP file converter

Postby chri » Tue Jul 03, 2012 6:49 pm

hello

sketch is done with SKETCHUP
file is export in IGES with plugin iges_export.rb
the backup is done in STEP avec FreeCAD
STEP file is open with 123D BETA



Manip inverse [/color]
DEUXIEME TEST

dessin SKETCHUP
export en IGES avec le plugin d'export IGES ( plugin iges_export.rb )
transformation en STEP avec FreeCAD
lecture du STEP avec Autodesk 123D Beta

NICKEL x 2



chri
2
User avatar
chri 
 

Re: STEP file converter

Postby ken » Tue Jul 03, 2012 7:21 pm

I use SimLab Composer. I have tried the rest, Alibre, ViaCad, 123D beta and others programs, and Simlab does the best conversions. But to be honest, nothing is going to turn a high poly model into something that Sketchup is not going to choke on.

Ken
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
ken 
Premium Member
Premium Member
 

Re: STEP file converter

Postby MALAISE » Thu Jul 05, 2012 1:19 pm

Great explanation Chri!

Exactly what I was looking for :thumb:

Pierre
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: STEP file converter

Postby lansd » Sun Oct 27, 2013 3:34 pm

Ken wrote:I use SimLab Composer. I have tried the rest, Alibre, ViaCad, 123D beta and others programs, and Simlab does the best conversions. But to be honest, nothing is going to turn a high poly model into something that Sketchup is not going to choke on.


This would be an incorrect comment due to lack of knowledge and experience, which is common on SketchUp forums since 2010. As I and the original SketchUp developer worked together to write the main CAD -> SketchUp conversion system in 2005 before he sold off the company, I'll point you to the proper methods to get any sized CAD file into SketchUp with good efficiency:

http://www.okino.com/conv/exp_sketchup. ... tpractices
0

lansd 
 

Re: STEP file converter

Postby emartingr » Mon Dec 15, 2014 6:20 pm

pilou wrote:Use Free-CAD
Import / Export!
STEP, IGES, OBJ, DXF, SVG, STL, DAE, IFC or OFF

Seems you can use some one for SU ;)

Or Moment of inspiration but it's not the same price! ;)
But you can send me the file in MP ;)

The free 123D also ;)
123D can IMPORT (Open) 123D, SKP, SAT,OBJ, DWG (3D solids), STP, 123C (Mesh content).
123D can export (Save As): STL, SAT, DWG, STP and its native 123D. you can also publish an image.


Thanks pilou,

FreCad would be great to convert 3D files to or from SU. The Collada format opens directly in SU. But I found it difficult to load the required conversion plugins into FreeCad. To import/export collada files from SU, the pycollada plugin is required and this involves installing Python, numpy and setuptools (http://www.freecadweb.org/wiki/index.ph ... allation_3).

I could not make it work -yet-, perhaps because there are many different versions of each. If someone has already done it, I would appreciate getting the information. If I manage to install it, I will send the detail method.
0

emartingr 
 

Re: STEP file converter

Postby Jim » Thu Dec 25, 2014 6:16 pm

I can not get the COLLADA export to work yet either.

However, the .stl export does work. What's better is that FreeCAD does not need to be running to convert a .step to .stl. The FreeCAD Python API can be used to convert the file and a plugin can be made to import .step as an .stl from SketchUp.

The python script I am testing is very simple:

Code: Select all
# conv.py
FREECAD = 'C:\\Program Files (x86)\\FreeCAD 0.14\\bin'
import sys
sys.path.append(FREECAD)
import FreeCAD
import Part
part = Part.read("C:/Users/Jim/Downloads/545424.STEP")
part.exportStl('C:/users/jim/part.stl')


In addition, you do not need to install Python. I was able to use FreeCAD's embedded Python to run the script:

Code: Select all
"c:\Program Files (x86)\FreeCAD 0.14\bin\python.exe" conv.py



That's it. It will probably take SketchUp longer to import the .stl than FreeCAD takes to perform the conversion.

So there you have it with a little more work, a poor-man's .step import.
1
Hi

Jim 
Global Moderator
 

Re: STEP file converter

Postby Aroundthebend » Sat Mar 28, 2015 3:44 pm

MALAISE wrote:Thanks Pilou,

I'll test freecad and then convert the file. :thumb:

Pierre

Hi MALAISE, did you have any luck using Freecad to import STEP files i.e.:

Step into Freecad export as .stl >import into Sketchup.

cheers
0

Aroundthebend 
 

Re: STEP file converter

Postby pilou » Sat Mar 28, 2015 6:06 pm

I'll point you to the proper methods to get any sized CAD file into SketchUp with good efficiency:


It's that we can say a very good article! :thumb:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: STEP file converter

Postby Aroundthebend » Sun Mar 29, 2015 11:47 pm

pilou wrote:
I'll point you to the proper methods to get any sized CAD file into SketchUp with good efficiency:


It's that we can say a very good article! :thumb:


Thanks pilou. I now know what I need (once I read the article a few times!). Yes a very good article :thumb: .
0

Aroundthebend 
 

Re: STEP file converter

Postby hsmyers » Sun May 29, 2016 7:32 pm

Jim wrote:However, the .stl export does work. What's better is that FreeCAD does not need to be running to convert a .step to .stl. The FreeCAD Python API can be used to convert the file and a plugin can be made to import .step as an .stl from SketchUp.


Slight improvement, tested and working:
Code: Select all
# step2stl.py
FREECAD = 'C:\\Program Files\\FreeCAD 0.15\\bin'
import sys
sys.path.append(FREECAD)
import FreeCAD
import Part
part = Part.read(str(sys.argv[1]))
part.exportStl(str(sys.argv[2]))


Late to the dance, but just ran into the problem :( => :) Thanks Jim !!
0
User avatar
hsmyers 
 

Re: STEP file converter

Postby Aroundthebend » Sat May 27, 2017 11:53 am

Hi all, I've been looking at this problem for some time. I've now started using Afanche3D Pro (£29'ish) which is a 3D file viewer. It can import STEP files (and others) and export to DAE (and other formats). I've found it very us usfull.

The STEP files I receive are usually in mm so I've set Afanche3D Pro System Length Unit to mm and the Default File Importing Length Unit to cm (these setting are found in the Options (Grey cog in tools above work area). This is so it enlarges by 10. I then export as a DAE and import this into SketchUp. Because the units in my SU are set as mm the DAE file will import at x10 (that makes it x1000 the original model size).

Afanche do some other viewers that only open one file type (i.e. STEP viewer £23)
0

Aroundthebend 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: apon11 and 15 guests

Visit our sponsors: