About SKP format

 From:  Michael Gibson
2058.10 In reply to 2058.8 
Hi Pilou,

> If you draw a curve (alone) then copy it, then move it , then
> replace it at the same place I believe the 2 curves are merged!

That may be correct, but here you are talking about drawing an edge in SketchUp - when MoI writes data to a SketchUp file it does not run in an identical way as when you are drawing things in SketchUp, different code is running in these different cases.

I would probably need to do all that analysis myself and also another complication is that it could be pretty easy for a surface edge to have a different number of tessellated points in it than a stand-alone curve that is tessellated, since the surface edge also has points added into it where the UV polygon grid of the surface intersects it.

So it may be somewhat difficult for me to achieve any fully automatic "stacked up curve" removal.

I guess it could be possible for me to do it by a doing an in-depth comparison of every curve to every edge to look for duplicates in the original model data before doing any tessellation. That kind of full model comparison is potentially a very time consuming thing and has to be done very carefully so as not to take a large amount of time, so it is not something that I really will be able to do right now.

That's why I am using this method of not exporting curves by default if you do a SaveAs and have surfaces and curves together, that is probably safest to avoid "stacked up" type duplicated curves and edges which would probably be somewhat difficult to eliminate in SketchUp.

But if you would like to have all curves written at the same time as writing surface/solid objects, that will still be possible by selecting them all and using the Export command from MoI.

- Michael