News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Sooo many lines after import / convert.

Started by NeverStop, January 25, 2023, 02:20:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NeverStop

Always after importing a model, this time from .obj the model get tons
of lines. Anyone know how to avoid or fix ?

Thanks to Andy helping me save this model with texture down to 2017.

You cannot view this attachment.You cannot view this attachment. 

murray dickinson

They're facet edges because .obj only defines facets, no curved surfaces, and any model exported to .obj opproximates any curved surfaces as facets and dumps the curves, which is why it's useless as a CAD format.  In options|display, see if "display form-building edges" is checked, that might improve things, but it's a visual thing, it doesn't convert the facet surface to curved.  That's a thing that some specialised software does, a process you might search called "mesh to nurbs and analytic", but it can't be done in .obj format, it's always facets only and strips out curves, so you can't find centres or radius/diameter, cylinders, ellipsoids etc. 

NeverStop

Thanks Murray! for explaining and advice.

I did some search and did find this from reddit:

hatts
ยท
9 yr. ago

I wrestle with this problem every day. Short answer: there is no one-size-fits all solution, but there are several workarounds.

    The only totally free solution I'm aware of. Application called FreeCAD. Open the Mesh module and import your STL. Switch to the Part module and click Part > Create shape from mesh. This will do real NURBS fitting to your mesh, but it's pretty crude. I wouldn't expect it to handle large files.

    Solidworks required. Get MeshLab (free) and import the STL. Export to DXF. Start a new part in Solidworks. Click Insert > DXF, as a 3D model. Solidworks is able to convert this, although it's very literal: 1 polygon will be 1 NURBS patch (it doesn't smooth/merge the geometry).

    Solidworks or Rhino required. Get either Tsplines plugin (Rhino/Solidworks) or Power Surfacing plugin (Solidworks). Both of these programs have automated NURBS fitting, with very intelligent algorithms.

    Rhino required. import the STL and the run the command MeshToNURBS. This is, again, a 1-polygon-to-1-NURBS-patch command.

    Solidworks and small-sized model requried. In File > Open, select file type .STL and click Options. Select "Import as -> Surface body."

The higher end programs (NX et al.) have solutions but those aren't any cheaper than Geomagic.


And I also did find a couple of other SW for it:

https://www.automapki.com/products/autoconverter.html
http://www.resurf3d.com/mesh2snurbs.htm


Not sure if any av experimented with any of the solutions and want to share ?

Best regards






Jeff_in_90620

TurboCAD has the ability to convert from Surface to Solid, but it won't identify curves and insert those (this is the same as most of the options that NeverStop listed above).

When I am given an STL to modify, the first thing I do is use it as a scaffold to build a Solid object.  Every vertex will be on the actual surface; it is only the line segments that deviate from the curve, so snapping to the vertices is ideal.

The attached image shows a conversion I did for a project on Upwork where I created a solid model of a threaded tube and then increased its size (which was very easy to do with a Solid object).

I also used a higher ACIS setting when exporting back to STL so it was smoother than the original.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

That information from 9 years back is obsolete:  FreeCAD's shape from mesh is like solidifying a closed mesh in TC, it doesn't convert facets to NURBS.  T-Splines is no longer available for Rhino or SolidWorks, Autodesk bought it up and incorporated the technology into Fusion360.  Power Surfacing is available for both, and that same technology was available in PunchCAD's ViaCAD Pro and SharkCAD Pro in V9 and V10, not now, but like everything else, there's a learning curve, it wasn't and isn't an instantaneous automatic fix: triangular meshes have to be converted to quad-dominated meshes, a process called retopology that's used to improve subdivision models for further editing as well as for NURBS conversion.  There are a few newer things to try: there's a subscription SW that looks similar to Power Surfacing (IntegrityWare/NPower, its makers, also have their own standalone programs, Cyborg3D, expensive for occasional use) called Instep3D, I think around USD 60 per annum, which sounds pretty acceptable to me, but I haven't tried it myself. 
NURBS surfaces can't be exactly like mesh surfaces any more than mesh surfaces can exactly represent curved: both can only be approximations of the other.  Between the two are "analytic" surfaces, planar, cylindrical/conical, ellipsoid/spherical.  You can use those primitives to rebuild if you recognise them, but it's down to experience as to how close the actual exact size and shape is to what was intended, being able to divine the exact parameters from a mesh model is unlikely.

NeverStop

#5
Quote from: murray dickinson on January 26, 2023, 12:24:20 PMThat information from 9 years back is obsolete: 

Thanks for your very detailed and good explanation.

What I understand is the build in SW option may be not straight forward and possible the standalone is better option.

My search shows the Cyborg is costly! And Instep is not a part of Cyborg.
As you said they cost USD60,- annum, and license stops work. They do also have one option for one year upgrades and license don't terminate. But if you wanna upgrade after i.e. three years you need pay the steps.
So most likely another USD 159,- this option cost. But maybe its working flawless for years.
The other lower cost option I did see is the https://www.automapki.com/products/autoconverter.html i already mentioned. But they do only annum. Not sure about license terminate, but I assume.

So actually for me it looks like the InStep is the best option If I need any?

Edit: Possible resurf3d.com standalone is one option as well.

I have not seen much talk about this, So I don't think many wanna try get and TC group buy ?

I am low skilled person in this, so before I try myself and since so many others know a lot I would ask if any would be interesting do a review for about a couple of options ?

Best regards












murray dickinson

What do you want to achieve?   Stick to .step and .iges neutral formats for exchange, they keep their precise curved surfaces.  Reverse engineering analytics and NURBS from faceted models is a specialist practice.  Even if you recover them, finding relationships and parameters and rebuilding a CAD model that incorporates them is a time-and-money exercise, not  something that people want to take on as a love job.  If you want to render models, export copies of them as .obj or .3ds or whatever, don't save the originals in those formats.   If you're getting those formats from elsewhere and you want to use them as parametric models, get your collaborators to give them to you in .stp or .iges.  Many engineering suppliers offer CAD models of fasteners, bearings, bushes, motors that give you those parametric definitions when you incorporate them into your part or assembly.  Those resources give better definitions than reverse engineering software because you can identify features likes centres, holes and planes that you can define relationships to.