Export problem STEP or WRL

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
tk5ep
Posts: 23
Joined: Tue Sep 19, 2017 4:15 am

Export problem STEP or WRL

Post 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)
Attachments
KF301-2POLES.FCStd
(133.57 KiB) Downloaded 78 times
Last edited by tk5ep on Sat Oct 14, 2017 8:26 pm, edited 1 time in total.
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Export problem

Post 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 4313 times
view3dscene-wrl.png
view3dscene-wrl.png (164.25 KiB) Viewed 4298 times
I attached the file of your model and the STEP and WRL model exported
KF301-2POLES-to-export.FCStd
(229.03 KiB) Downloaded 67 times
KF301-2POLES_sp.step
(154.55 KiB) Downloaded 118 times
KF301-2POLES_sp.wrl
(72.41 KiB) Downloaded 121 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
tk5ep
Posts: 23
Joined: Tue Sep 19, 2017 4:15 am

Re: Export problem STEP or WRL

Post 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,
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Export problem STEP or WRL

Post 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 4285 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
fran6t
Posts: 354
Joined: Tue Jul 15, 2014 9:29 am
Location: Montauban
Contact:

Re: Export problem STEP or WRL

Post 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.
Attachments
KF301-2POLES-Assembly.FCStd
(39.31 KiB) Downloaded 56 times
4-Serre.FCStd
(15.81 KiB) Downloaded 59 times
3-U.FCStd
(25.56 KiB) Downloaded 57 times
2-Corps.FCStd
(40.77 KiB) Downloaded 56 times
1_vis-fendue.FCStd
(13.04 KiB) Downloaded 51 times
Last edited by fran6t on Sun Oct 15, 2017 8:31 am, edited 1 time in total.
tk5ep
Posts: 23
Joined: Tue Sep 19, 2017 4:15 am

Re: Export problem STEP or WRL

Post 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
fran6t
Posts: 354
Joined: Tue Jul 15, 2014 9:29 am
Location: Montauban
Contact:

Re: Export problem STEP or WRL

Post 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
Attachments
KF301-2POLES-Assembly.FCStd
(47.61 KiB) Downloaded 75 times
4-Serre.FCStd
(30.1 KiB) Downloaded 68 times
3-U.FCStd
(38.5 KiB) Downloaded 62 times
2-Corps.FCStd
(49.58 KiB) Downloaded 67 times
1_vis-fendue.FCStd
(26.33 KiB) Downloaded 64 times
Post Reply