News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Re: Colin Join Spline

Started by colinreid, June 18, 2015, 09:09:33 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

colinreid

I hope this is not hijacking but my title would have been the same. 

The attached screen capture is from the online helpfile.  The last lines are my problem as when I try and join splines using Join Polylines (like it says in the manual!) all I get is a polyline with the massive increase in the number of nodes which slows everything down.

Is this a bug?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

Sorry but the attachment was "dropped"

Is it just me as everything is very slow to respond on the forums?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

What is going on?  The attachment is only 125KB
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

I hope somebody will take note that I cannot attach anything at present
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Andy H

Forum seems OK here Colin, though not tried uploading anything.

No need for attachment though,  the Join spline only works if the end are flowing exactly from one to another, if they don't it gets converted to a polyline 

See this post from Henry http://forums.turbocad.com/index.php/topic,16496.msg97006.html#msg97006 with picture

John R

The slowness has been sporadic. It usually happens when we get a new build (that's what I attribute it to).
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

colinreid

You can sense my frustration?

Henry's post makes clear that the helpfile is not (shall we say) correct.

I remember the forums slowing up a couple of years ago and the answer was the forum needed "pruning", at the moment it is frustratingly SLOW
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#7
Colin

I am not sure this will help but I do this alot to reduce node counts.

After I have joined lines I use Convert To Curve and play around with the Tolerance and Line segment values (keep testing using undo, select edit tool to view node count)

Re: Forum, I have noticed a few slowdowns but it seems more to do with my Internet connection rather than the Forum..
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

Darrel

Thanks as usual.  I found by experimentation that the tolerance was "best" at 0.5mm.  I have not tried the line segment yet.

I have been unable to upload anything for 2 days but me testing joining splines arose as I trying to find a fix for a problem with rendering extruded versions of polylines and Beziers where the latter differs in shape to the extruded shape.  I will try again tomorrow to post again to fully illustrate the problem.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose


The Line segment is useful for keeping straight lines and corners rather than everything becoming curves.

These settings are very dependent on the size of the object I have found.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

Quote from: colinreid on June 19, 2015, 06:17:11 AM
Darrel

Thanks as usual.  I found by experimentation that the tolerance was "best" at 0.5mm.  I have not tried the line segment yet.

I have been unable to upload anything for 2 days but me testing joining splines arose as I trying to find a fix for a problem with rendering extruded versions of polylines and Beziers where the latter differs in shape to the extruded shape.  I will try again tomorrow to post again to fully illustrate the problem.

You may need to play around with your ACIS settings to get the Extrusion to following the shape better....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

Darrel

Useful advice but, as is usual, very complicated.  Any particular ACIS setting to start with?

I have tried again to upload but it was not possible and have contacted IMSI support as the inability to upload and the general slowness is a big drawback to these useful forums.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

Hi Colin

Strange you cannot upload...Have you tried from another device?

ACIS setting can be problematic and always save before performing any changes.

The settings below (I am no expert on this) may be a bit overkill but do follow the 2D lines very closely.

I untick Degenerative Faceting so I can see the 3D stitchings and give more feedback on the 3D smoothness.

Colin - Just wondering if you need to join splines..... Have you tried turning on compound profile before extrusion?
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Henry Hubich

Quote from: colinreid on June 20, 2015, 05:20:03 AM
Darrel

Useful advice but, as is usual, very complicated.  Any particular ACIS setting to start with?

I have tried again to upload but it was not possible and have contacted IMSI support as the inability to upload and the general slowness is a big drawback to these useful forums.

The first thing to try: In Options>ACIS, move the "Faceter Quality" slider all the way to the right and click OK. The screen will probably redraw, but you might not see any improvement. If not, then re-create the extrusions. If they still don't look right, then you'll have to fiddle with the Expert Faceter Parameters -- and be warned that they do not behave as in earlier TCad versions. Lotsa luck with them. I've encountered cases in which nothing I did would make an object look right, but when saved in v19 format and opened in v19, it looked just fine.

Henry H

Darrel Durose

Just to add:

If you are using RedSDK Native Draw then sometimes these changes don't update the objects so I permanently have TC set "Caching of model space" unticked.

Switching to Paper Space then back to Model space gets RedSDK to reload and update things.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Dean

Quote from: colinreid on June 18, 2015, 09:09:33 AM
I hope this is not hijacking but my title would have been the same. 

The attached screen capture is from the online helpfile.  The last lines are my problem as when I try and join splines using Join Polylines (like it says in the manual!) all I get is a polyline with the massive increase in the number of nodes which slows everything down.

Is this a bug?

Bezier's won't work for you, Colin?
They will maintain their attributes when joined.

"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Dean - I have tried Beziers but two problems in a) getting round sharp corners & b) using lines or polylines joined to Beziers when joined become polylines.  Only Beziers join as Beziers (in TC22?) but I need sharp corners occasionally.

Darrel - Using compound profiles made no difference to the problem.  As I have only one computer and web connection there is only one upload route.  If IMSI support respond and I can the upload, I will post the offending file.  Remembering a post of a couple years ago, I have Degenerative Faceting turned off.

Meanwhile Henry - your knowledge and solutions never cease to amaze.  You got it one line one.  I would have never thought to try that but it worked.  No need to reload TC19 but I admire your persistence to even try that.

Thanks all.  Another problem solved.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

Glad you got it sorted Colin.  :)

The Compound Profiles suggestion was more to reducing the work needed as in the Join Polyline/Convert to Curve steps.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Dean

Quote from: colinreid on June 21, 2015, 03:19:42 AM
Dean - I have tried Beziers but two problems in a) getting round sharp corners & b) using lines or polylines joined to Beziers when joined become polylines.  Only Beziers join as Beziers (in TC22?) but I need sharp corners occasionally.



Colin,
Use the node curvature setting"non smooth at point" for sharp corners.
You can convert lines to beziers by adding a node if the line has only two nodes.
You can draw straight beziers.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Darrel - because I do it so much, I have added the Join Polyline and Convert to Curve commands to one  of my toolbars.

Dean - sorry but where is node curvature setting as it is a new one on me.  Straight Beziers (sound of forehead slapping) just did not occur to me. Obviously I must try next time.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Quote from: colinreid on June 21, 2015, 06:49:29 AM
Darrel - because I do it so much, I have added the Join Polyline and Convert to Curve commands to one  of my toolbars.

Dean - sorry but where is node curvature setting as it is a new one on me.  Straight Beziers (sound of forehead slapping) just did not occur to me. Obviously I must try next time.

While in edit mode on the Bezier, Colin.
> Select the edit tool > select the bezier > select the target node> Rt click and choose (local menu)"non smooth at point" then move one of the green nodes to see the results.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Simple when you know how.  Thanks.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

An update as I have struck another snag.

Attached are two screen captures if the hull nearing half conclusion.  The first is the quality render fi the keel and outer hull when first assembled. The second is the render after I have saved, closed and reopened the file.  Why the keel goes all weird is the query.

Dean - you will be pleased to note that the keel is extruded from a shape that was Beziers joined together as you suggested.

The weirdness applied to both Draft and Quality rendering.  And having Degenerative Faceting on or off made no difference.

So, I had another play to try and see if the problem could be prevented.  The keel was extruded in another file and the edges chamfered before pasting in the main file.  But when I copy and pasted in the keel without chamfering the weirdness did not happen.  Beats me - any ideas anyone?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on June 23, 2015, 07:18:30 AM
An update as I have struck another snag.

Attached are two screen captures if the hull nearing half conclusion.  The first is the quality render fi the keel and outer hull when first assembled. The second is the render after I have saved, closed and reopened the file.  Why the keel goes all weird is the query.

Dean - you will be pleased to note that the keel is extruded from a shape that was Beziers joined together as you suggested.

The weirdness applied to both Draft and Quality rendering.  And having Degenerative Faceting on or off made no difference.

So, I had another play to try and see if the problem could be prevented.  The keel was extruded in another file and the edges chamfered before pasting in the main file.  But when I copy and pasted in the keel without chamfering the weirdness did not happen.  Beats me - any ideas anyone?

If you have an older version of TCad, try saving back to that version and redrawing the part there. I had to resort to that workaround just yesterday with a simple part that would NOT behave in v2015.

Henry H

colinreid

Well an exciting 2.5 hours testing out Henry's idea of going back to older versions but first I had to reinstall TC19 and TC20 with much winging because I have upgraded my computer and old TC gave me lots of informative error message about my graphics driver (TC19 would only work in GDI).

First I converted my original file with a chamfered keel that renders OK at first but renders like the second attachment in pure garbage if I save and reopen the file.  I noticed that if I turn Degenerative Faceting off, the wireframe looks like the render.  I then saved that mess in the three older formats.  All three rendered properly in the old versions on first opening but when I saved then and reopened them TC19 and TC21 rendered as garbage again.

The I rebuilt the original process with a keel with no chamfering and repeated the process as above.  In all four versions, the particular version file opened, rendered, reopened and rendered OK.

Some conclusions

First why does saving and reopening b****r up the Degenerative Faceting so much to obviously cause the garbage renders. 

Second why does the chamfering cause this problem on the keel but not on other components in the file.

Is IMSI aware of this strangeness and Henry's drastic solution which makes no sense to me.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

#26
You shouldn't be having so many problems and it should be all a lot simpler, Colin. I have yet to experience this in 2015 though Henry loves to push Genie's buttons ;D
What type of render are you doing? are you working in GDI mode or do you have Redsdk enabled?
Is there any way for us to get that file for testing?
You can PM me a dropbox link if you want. In the meantime if you want try this.
> In Turbo 2015  save the drawing with a new name, call it Hull_Smesh.
> re-open Hull_smesh and set the Acis setting "Faceter quality"to 100 and the "relative accuracy" to .001
> select your solids and change them to first a surface then to a smesh with "no" smoothing value doing this from within the selection info palette. I don't know the size of your drawing so Turbo might be slow in doing this.
> Save the file with a new name Hull_Smesh_2
> Open the Hull_Smesh_2 file and render then close and re-open the file and render.
I am using Platinum 64 bit Redsdk on
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Dean

I am no dropbox expert but I seem to need an email address to send you invite to see my files.  Unless you are Russ Hoogs who seems to have accessed a previous link I have used in the last 3 minutes.

In the meanwhile I will play with the Smesh suggestion.

There a 3 files one of which is too large to post except by dropbox.  I am using Redsdk not GDI for current versions.

coble12.tcw  - half hull nearing completion with keel having no chamfer
drawing1.tcw - the original offending file
drawing2.tcw - four variations of the keel
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Colin,
Lol, I'm not Russ I am Dean :) I was this morning when I woke up :)
You can send me a PM by clicking on the personal message icon which is located under my name, over to the left 8)
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

colinreid

Further experimentation may have solved my problem.  I was concerned that transferring the keel from a test file where it was drawn went all funny after saving and reopening.  I noticed that with degenerative faceting off the keel had gone all weird and I could not see why.  So, after sober reflection (well some wine was involved), I thought the problem might lie with the original outline that was extruded containing the problem regardless of how much I zoomed in and could see no imperfections.

I redrew the outline as all Beziers, joined them, extruded and rendered .  As there was nothing strange with the degenerative faceting, I saved, closed and reopened and rendered several times without a fault.  I conclude that original shape was the problem.

Dean - I was under the impression you wanted to see the file causing the problem.  As it is too big to post here, the only way was to drop it into dropbox and email you the dropbox invitation.  Hence my request but as the file is no longer there all I have is an earlier version that is rubbish.  Hardly seems worth while now the problem is solved.  I did the mesh conversion as you suggested but the problem persisted which led to my sober reflection.

The reference to Russ Hoog happened as I opened Dropbox to the directory I used to send the original troublesome file to TurboTech to find Mr Hoog there.  That directory has since disappeared which does my confidence in Dropbox no good at all.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video