Git Product home page Git Product logo

Comments (7)

easyw avatar easyw commented on May 18, 2024

@Franck78
you have two options IMO:

  1. use scripts to create your 3D models
  2. have a closed look at kicad StepUp to help in exporting your FreeCAD design

from kicadstepupmod.

Franck78 avatar Franck78 commented on May 18, 2024

Are you saying that there is

  • export as .step
  • export for Kicad (wrml+ fusioned step)

?

from kicadstepupmod.

easyw avatar easyw commented on May 18, 2024

@Franck78
yes ... have a look at kicadStepUp-cheat-sheet.pdf
(it is available here at the repo or directly from FreeCAD in the Demo Menu of the StepUp WB)
There is a button to export exactly what you need ... moreover there is also a button to check if the exported file will be a single unioned file when re-imported
(remember to keep a backup of your FC file or just make a simple copy of what you want to export)

from kicadstepupmod.

Franck78 avatar Franck78 commented on May 18, 2024

First time a clicked on the the pdf, Freecad displayed it in raw format.

Next, tooltip choose for the function we are speaking of is wrong.

  • Export 3dmodel to KiCad
    Well no, it is more "Create WRML & STEP". Can be for Kicad or this repo or anything else, you don't know.

For some reason, the tooltip is more accurate in the "Ksu tools windows" !

I love to say my computer is good at repeating stupid tasks. Answering same questions again & again is a stupid task. I suggest you create a body for all the answers. Including the most annoying of all "File exists, overwrite ?" It is yes in 99.999% ;)
And save that new body inside the FCstd file.

Select ONE single part object !
suggestion for multi-part:
Part Boolean Union (recommended)

This forces to modify the model to suit your need. Simply not good. Just silently Union before writing files.

This function is the strict equivalent of what we found in main_generators.py & cq_model producing bodies.

It just don't have the "iterate" yet.

Please open the Molex 5267 3d design. It is denying the purpose of FreeCAD to try to describe this thing with script's primitives.
Now what if the designer do it with three bodies. Left, middle, right. With little help, this script can generates the entire serie, one click.

Screenshot_20200910_115631

from kicadstepupmod.

easyw avatar easyw commented on May 18, 2024

@Franck78

  1. you miss that the WB started as a single FC Macro late in 2015 when FC didn't even had Body feature
  2. to force the user to modify the object in a single unioned part is the right action to obtain a real single object; sometimes boolean operation will create a single object but that will create a multi part when exported to STEP (you need to go deeply in STEP format to assimilate that concept)
  3. if you, after 5 years of improvements in FC features and python functions, are ready to rewrite all the generators and are willing to check if they work correctly in many releases of FC and in all the platforms (OSX, Win Linux), as well as check if the generated models are all compliant with the OS platforms and CAD sw, I will be glad to merge the code (obviously python friendly and formatted generator by generator)
  4. the same concept for KiCAD StepUp and its help tooltips and user manual

Export 3dmodel to KiCad
Well no, it is more "Create WRML & STEP". Can be for Kicad or this repo or anything else, you don't know.

No, kicad StepUp has started exactly to export a FC model to be the most compatible with kicad 3D viewer... and yes I do know it 😜

from kicadstepupmod.

Franck78 avatar Franck78 commented on May 18, 2024

point2: you need the output unionned. Not the design of the user. What if the user performs the operation "Make a union of selected objects" , do the export then say yes routinely to "Save before quit" ? Screwed ! Unionned for good, bye bye bodies.

point3: I'm not speaking here of the scripted generators. I'm saying they don't ask questions, do the job from 'bodies' and this function should do the same minus iteration.

from kicadstepupmod.

easyw avatar easyw commented on May 18, 2024

point 5: fork the code and develop your fork

from kicadstepupmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.