Plane definition in step file FreeCad

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
Miketsu
Posts: 3
Joined: Fri Sep 14, 2018 10:11 am

Plane definition in step file FreeCad

Post by Miketsu »

Hi all,

I’m writing a simple step file that take some 2d points and add a thickness to the resulting 2D surface to make it 3D.

I used only 2 planes 1 in Zy and 1 in XZ direction.
But in the resulting step file I see some Xz or yz faces missing,
Could anyone explain me about correct definition of pcurve containing a plane (a point + 2 direction) and a line (a 2d point in the plane +direction)

ATB
chrisb
Veteran
Posts: 54288
Joined: Tue Mar 17, 2015 9:14 am

Re: Plane definition in step file FreeCad

Post by chrisb »

Moved to help forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Plane definition in step file FreeCad

Post by NormandC »

Hello,

I wasn't even aware that people wrote STEP files directly, and not through a CAD program. We are mostly end users here, we create our models in FreeCAD and export to STEP when we need to. As for FreeCAD developers, I don't know if there are any with a deep knowledge of how a STEP file is written internally.

Maybe easyw-fc? He's done some work with STEP import/export.
easyw-fc wrote: ping
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Plane definition in step file FreeCad

Post by easyw-fc »

NormandC wrote: Sat Sep 15, 2018 5:12 pm Hello,

I wasn't even aware that people wrote STEP files directly, and not through a CAD program. We are mostly end users here, we create our models in FreeCAD and export to STEP when we need to. As for FreeCAD developers, I don't know if there are any with a deep knowledge of how a STEP file is written internally.

Maybe easyw-fc? He's done some work with STEP import/export.
easyw-fc wrote: ping
We have generated a huge electronic 3D library in STEP through FreeCAD.
https://forum.freecadweb.org/viewtopic.php?t=20892
The library is based on python scripts, so the result is fully parametric and configurable.
But we have used CadQuery WB and FreeCAD (with OCC) as vehicle to convert 3D geometries to STEP.
The same could be done using python OCC.
http://www.pythonocc.org/

I made some tests before finding FC,CQ & OCC much easier and powerful for my needs.
Post Reply