freeship-plus-in-lazarus icon indicating copy to clipboard operation
freeship-plus-in-lazarus copied to clipboard

All edges of OBJ import are set as Edge Creases.

Open pafurijaz opened this issue 9 months ago • 2 comments

Hi congratulations for this version, I wanted to report this problem, but I had some things to do and I didn't have much time to make a report on this problem, as you can see from the attached images, of a test model, all the edges of the OBJs, are set up as Edge Creases, I attach the OBJ file, which has the marked edges as sharp and other examples, it would be really fantastic to use the information of the Sharpe Edges to set the edges as Edge Crease in Freeship.

Previously it was also possible to import the VRML2 files, I assume that this is no longer possible with the latest version, right?

As you can see all are a set as Edge Crease Image

This is the original edges of the file with sharp edges in Blender and you can see the cyan edges that are the sharp edges

Image

In the zip file you can find the source obj and others simple with edge marked a sharp.

Sample-OBJ-for-FreeShip.zip

There are many cube with different smooth and sharp edges, I hope the naming was clear about how they are.

Greetings and congratulations for these new features and above all to have included OBJ, which is widely used and this will allow many to take advantage of Freeship.

pafurijaz avatar Feb 27 '25 15:02 pafurijaz

Hi pafurijaz, I know about creases. However, the reason I've made import all creased was the fact that OBJ edges are imported as control edges. In the concept of FreeShip hull modelling (Catmull-Clark subdivision) the subdivided edges represent object boundary (hull). The control edges are just for control and they are sort of outside of actual boundary, unless they are creased. So, if we uncrease the OBJ edges, the hull in FreeShip will be smaller than it is in OBJ file. Ideally it needs to import OBJ edges as subdivided edges, and to build control net around it the way that subdivided edges match OBJ edges. But this is a difficult task. I am thinking how to solve it, but ...

VRML2 is importable. The app detects VRML version automatically.

markmal avatar Mar 20 '25 21:03 markmal

OK, I will use the internal FreeshIp command to make edges smooth, with OBJ I can avoid the VRML2 conversions, but is great to have also this option, I hope you can find a solution, thanks and so you can decide to close this issue.

pafurijaz avatar Mar 20 '25 23:03 pafurijaz