Page 1 of 1

Export problem STEP or WRL

Posted: Sat Oct 14, 2017 6:58 am
by tk5ep
Hi all,
*
Still a beginner and learning.
I've made an electronic component but do have a problem when exporting it to WRL (or STEP) format.

It is probably due to the fact that i have made different parts and shifted them to put them at the right place ...
Image

Image

How can i correct this without redoing all my work ?
I atatched my Freecad file.

Thanks

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12396 (Git)
Build type: Release
Branch: master
Hash: fb2b9d6cef287d826a905b90928d41a03e38d928
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: French/France (fr_FR)

Re: Export problem

Posted: Sat Oct 14, 2017 7:26 pm
by easyw-fc
Hi @tk5ep

You could have a try with kicad StepUp which is a FC WB installable with the Tool addons menu.
I included your Parts in a main Part container, then I selected the main container and clicked on the 'makeUnion' button of StepUp
fc-export-step-wrl.png
fc-export-step-wrl.png (174.17 KiB) Viewed 4368 times
view3dscene-wrl.png
view3dscene-wrl.png (164.25 KiB) Viewed 4353 times
I attached the file of your model and the STEP and WRL model exported
KF301-2POLES-to-export.FCStd
(229.03 KiB) Downloaded 80 times
KF301-2POLES_sp.step
(154.55 KiB) Downloaded 129 times
KF301-2POLES_sp.wrl
(72.41 KiB) Downloaded 135 times
You can have a look at this thread at FC forum
https://forum.freecadweb.org/viewtopic.php?f=24&t=14276

Are you doing your models for KiCad?
Please have a look at KiCad 3D model library
https://github.com/KiCad/kicad-packages3D/

If you want to contribute also there, your help would be very appreciated! :D

PS could you add the word 'STEP' to the thread title? That would help other users in searching

Maurice

Re: Export problem STEP or WRL

Posted: Sat Oct 14, 2017 8:42 pm
by tk5ep
Hi Maurice,

thanks for the answer.
I installed Stepup and have now to deal with it !

I'm not sure to understand about the main container part you're talking about.

I will look on that and try to understand what you're talking about.
Sorry, i'm a beginner...

Yes, i'm doing all this for Kicad.
OK about Github... It looks complicated... too many things to learn at the same time ! But i'll look on that too.

Thanks a million,

Re: Export problem STEP or WRL

Posted: Sat Oct 14, 2017 9:02 pm
by easyw-fc
tk5ep wrote: Sat Oct 14, 2017 8:42 pm Hi Maurice,

thanks for the answer.
I installed Stepup and have now to deal with it !

I'm not sure to understand about the main container part you're talking about.
If you open the 'KF301-2POLES-to-export.FCStd' you will notice that I added a Part container and moved all the other Part containers inside it.
Then I exported to STEP and WRL selecting the top level Part container
You can stay in FC0.17 ... for STEP modeling is much better
PartInPart.gif
PartInPart.gif (181.2 KiB) Viewed 4340 times
tk5ep wrote: Sat Oct 14, 2017 8:42 pm Yes, i'm doing all this for Kicad.
OK about Github... It looks complicated... too many things to learn at the same time ! But i'll look on that too.

Thanks a million,
I've seen you there:
https://forum.kicad.info/t/anyone-succe ... es/8056/10
Renè is very helpful and if you want to contribute to KiCad, I'm sure you will be able to go through Git procedure...
I noticed that also your FC models are very well structured :D
Hoping to see you joining our MCAD squad @ KiCad :D

PS have a look at kicad StepUp cheat sheet
https://github.com/easyw/kicadStepUpMod ... -sheet.pdf
Maurice

Re: Export problem STEP or WRL

Posted: Sat Oct 14, 2017 10:19 pm
by fran6t
Alors perso pour faire en 0.17 d’ailleurs je fais pareille en 0.16 je fais autant de fichiers que de pièces nécessaires

Il y a un gros avantage à faire comme cela c’est de se constituer une petite bibliothèque, tes vis fendues, tes U peuvent ainsi être réutilisées pour d’autre pièce.

Une fois les différents fichiers construit j’utilise assembly2 pour faire le montage final.

Je te mets ce que j’ai fait, il te faut vérifier les côtes et je n’ai pas était jusqu’au bout de l’assemblage.
Je pense que maintenant si tu fais un export de mux tu dois avoir la pièce dans son ensemble.

Re: Export problem STEP or WRL

Posted: Sun Oct 15, 2017 4:39 am
by tk5ep
Hi Maurice and fran6t,

Now, i got it !
In my first tests, i've been using part containers but when i started facing problems, i removed them to test ! Not a good idea.

I also loaded assembly2 and will have a look on it too.

Thanks for your precious help,
Patrick

Re: Export problem STEP or WRL

Posted: Sun Oct 15, 2017 4:28 pm
by fran6t
Voici une nouvelle version, tu aurais pas les côtes qui sont impérative ?
La vis existe peut-être déjà dans la librairie ? https://github.com/FreeCAD/FreeCAD-library
Pour info il y a déjà un équivalent dans le librairie https://github.com/FreeCAD/FreeCAD-libr ... connectors

Image