Adaptation of pascal CODE for exporting in IGES?

Someone can make an adaptation of CODE for exporting in IGES right here
This code code export a nice NURBS surfaces from subdivision with edge crease.
Some example here…

1 Like

Wow- this would be just amazing!
Can any coder / developer take a quick look at the pascal code for converting poly faces to Nurbs patches?! Would it be a lot of work to get it translatet and usable inside Blender?
this would be an awsome addition / funtionallity for Blender!

Maybe now with the whole interest and curiosity and adoption of Blender in some very notable studios all around the world as a totally replacement of commons application it the time to implement e decent NURBS kernel

I dont really know about that… A real Nurbs implementation requires a lot of “complex” math- and is for sure no simple task…
But for Blender as Part of a Industrial Design workflow, alongside a
Nurbs Modeller (Rhino, Alias, Solidworks…etc) some smoother connectivity would be great (and realistic to achieve)

So First, getting Nurbs data inside Blender for rendering animation, simulations etc with some proper Importers
for the Standard formats (Iges,Step) would be key.
(there has been some amazing start on the rhino 3d format- I hope it continues!
Import Rhinoceros 3D files into Blender )

But with your suggestion, it would be possible to do also big Parts of the Design work inside Blender and to get data OUT of Blender and beeing able to continue detailing the Design in one ofe the Nurbs Modeller!

This would be SOOO BIG in my personal workflow!

Having both, would make Blender 2.8 not “just” beeing widely adopted in Animation-Studios, but also in
IndustrialDesign Studios as well!

I’m no expert, but Rhino is a Nurbs modeller whereas CAD software are Solid modelers based on some kind of Parasolid kernel. Meaning that if Blender had a decent Nurbs kernel and feature set, Rhino files could be imported and edited. But CAD data could at the most be imported based on BREP, which you could mesh on top of. But forget about any meaningful editing of that data.

there was some thread on IGES in python
not certain where it is right now

found this

python libraries


but don’t think blender is ready yet to add more Nurbs tools
been tried and dropped
hope it changes soon

not certain it is that easy to convert from Pascal to Python
but should be possible
only a matter of time I guess

happy bl

I am not expecting any Nurbs tools in Blender anytime soon / or ever- (just to big of a topic)
But as mentioned above, some “smooth” nurbs Geometry conversion / integration (in theory Blender knows Nurbs geometry,rught? and even if not directly Nurbs, than you can still tesselate the Nurbs on Import like the Rhino Format importer) would be a giant step
towards an even more versatile Tool!

Sadly I am a Designer, and i have close to no codeing experience at all-
So its very hard to estimate / have any Idea on how much effort an implementation of these would mean…

the Pascal to Python conversion,

these python libraries sound interesting


Does any hardcore Coder / Developer read this?
Any Ideas?

I can already export to stl and import stl into Blender.
Stl should not be used for anything but printing. Obj and dae are other visrep type format.
But I use it out of necessity, and the result is horrible as you might expect.

I didn’t even attempt on cleaning this madness up, except remove all internals and unnecessary hardware. It has shading errors, but the way we use it - from a distance rather than a product shot - it doesn’t really matter. Still, 670k faces are quite a bit for an empty plastic shell and some mount.

For us, the general consensus is that IGES is dead. Despite someone always saying its the most popular. We’ve never sent away any IGES files.
We tend to use STEP, possibly native file format, and dwg to convey tolerances.

I’ve never “used” BREP first hand, other than possibly seeing the result on screen many years ago.
But here is a guy using a BREP utility for Fusion work that looks very interesting:

Those BREPs should be possible to get into Blender using Nurbs.
Not edit friendly, but a nice alternative to getting STL based objects into Blender.

It is not the same thing and to convert quad mesh there is also moi3d, stl is a file for printing, however it’s not a rendering or animation problem but a precision problem. IGES is used by everyone, and simple as a type of file, STEP contains much more information, it would be great to be able to export in STEP, but here the code for the conversion of patch meshes to NURBS IGES patches was ready. Below are some examples of glTF files exported by Blender and opened with CAD Assistant and exported to BREP what you have is the same file with neat surfaces like NURBS and boundary detection, but impossible to menage with FreeCAD, and here a paper of integration of two world mesh e nurbs via B-rep

And here the perfect conversion made by me from mesh to NURBS with the upcoming moi3d 4 beta.

But MoI is only available on WIN and MAC unfortunately. Personally I don’t have a real need for this kind of stuff but would like to play around with. Is anyone aware of a Linux alternative to convert models back and forth?

I use only ubuntu since 2010 and I bought a moi license that i use with WineHQ.

1 Like

Ah, didn’t play with Wine that much. But that is a nice to know.

An alternative here, a workflow tips, I discovered some years a go. From Blender Subdivision To N.U.R.B.S. (IGES) for free