News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu

Problems With Complex Object Sweep

Started by MicheliDE, August 04, 2014, 09:01:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MicheliDE

Hi,

I was wondering if anyone could help me out with this complex object sweep. I have had a lot of trouble with this particular shape. It contains 6 circle parts for the sweep path and is a complex profile being swept. The result object from sweeping a single piece of the path ends up somewhere far out in the UCS. Can you help to troubleshoot what is wrong with this profile combination? I have tried re building both profiles without any improvement.

Best Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

I went around both objects with the "Meet 2 Lines" tool, then Swept, but didn't seem to help. I added a Point object and tried the Rail Sweep tool. It swept around, but the orientation was off. I tried the regular Sweep tool and it finally worked. Not sure why it did.
John R.

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

Andy H

Like John I had a try and it wouldn't work at first, I used the join poly tool on it and it swept ok but resulting in an surface object (profile not closed), I then found a small gap in profile (see file), after closing this gap by editing the arcs, it swept as a solid, however I've absolutely no idea what has gone on, as even if I download a new copy of your file, it sweeps now without problem (although its not solid), maybe it just needs copying and pasting into a new file..

Andy

John R

As Henry would say, "it's haunted".  ;D
John R.

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

MicheliDE

Hi John And Andy,

Thank you for your replies. I fixed the hole in the profile that is being swept by extending the line with trim. This worked however now I am experiencing problems with smoothness. I am sweeping using two compound profiles to preserve the circle/ellipse resolution and am still getting flat sides.

Any tips here?

Best Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

It seems like TurboCad's Render Engine is hiding the problems generating when sweeping around Curved Profiles. When I save as a *.STL file and open the file in another render engine the file is not very smooth and looks just like it does when looking at the file in Turbocad while it is a wireframe. This leads me to believe that the actual file is not smooth. Altering the quality of the sweep does not improve the smoothness. Nor does using custom settings.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Andy H

Have you tried the Smesh method, I don't use stl often, but have found that converting to TC surface, then converting to Smesh, then upping the Smesh level to - say 2 or 3 (4 can really slow things down), before saving to stl sometimes produces better results.

No guarantees but worth a try - on a separate file so you always have a good file to fall back on.

Andy

MicheliDE

Hi Andy,

I cannot convert this model to TCsurface or Smesh, I do have platinum pro but these options are grayed out when I select the solid.

Best Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Andy H

Explode once to convert the sweep to an Acis solid, the other options should then be available, I would advise against going straight from Acis to Smwsh as this can create strange shapes.

Andy H

Just for a test,

I tried a custom Acis mode (something I don't normally do as TC can get slow - for me), I then opened the stl in meshlab and NetFabb, I used TC draft, quality and custom set at 0.005 edge length (other two settings left as found), + a couple of Smesh files (1 and 3).

By far  the best quality was using the custom Acis setting, the obvious drawback is it slows down TC so must be done just before saving as stl (I selected the object and then ticked selection in the save dialog), Smesh looked OK but because of the shape of the part it created unwanted faces on the bottom.

Andy

MicheliDE

I have been able to Explode the object and convert between Solid, TCsurface, and Smesh. While In Smesh I went to Level 4 smoothing and it became very smooth but the plate under the object became distorted. I think the custom ACIS setting is the way to go. When I go to the properties of the object while it is still in Smesh and go to custom there are no properties or values in any of the boxes. Should this grid be filled with options that can be adjusted or do I have to insert my own commands? I did download meshlab yesterday but still have not had time to play with it yet. I'll also check out Netfabb.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

I then figured that I would have to smooth the bottom plate and top section separately so before sweeping I divided the two into separate sweeps and am continuing to try to smooth. When I get to smoothing the plate is there a way to just smooth the round edge while keeping the rest of it square?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Some more questions/comments:

1.) is there any way to get TurboCad to use a finer mesh as a default when it breaks apart the solid model into the surface and then into the mesh? It seems that the mesh is used for simplification and wire frame rending to make the program perform faster. The original resultant solid should be smoother because it is a smooth 2D profile swept along a smooth 2D path.
2.) the .stl file is clearly able to handle very smooth surfaces if the detail is fine enough, if I go to smooth level 4 the resultant object is very smooth but with issues noted above.
3.) It is a lot of extra work to learn how to use other programs to smooth and object that should be smooth to begin with.

Is there a way to make this object smooth without a lot of time spent in other programs?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Henry Hubich

What am I missing? Isn't this "smooth"?

Henry H

MicheliDE

Its smooth when it is rendered but the wireframe itelf is not smooth and the resulting mesh is not smooth. The .stl that is generated is also not smooth. The part cannot be machined until it is smoother than the resultant model that turbocad is generating. Smoothing with turbocad in Smesh smooths all areas but as far as I know you cannot select what areas to smooth without splitting the solid. Also if you split the solid you cannot smooth one surface while keeping another surface square. Slicing the model into the top and the plate at the bottom and smoothing the top results in waves near the bottom of the model because it is a sharp edge. Also smoothing the plate by itself also creates strange problems. I only need to smooth the outside edge that goes all the way around the plate. There are other programs but they are difficult to use and may not maintain the original dimensions of the part which are paramount.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Andy H

HI, can I please ask what program you are using to view the STL file, I used Meshlab and NetFabb as they were the only two programs on my computer which will view STL (apart from TC).

In the meantime I'll do some examples of what I did to get better results.

Andy

MicheliDE

Hi Andy,

The Top one above is TurboCad. I have also viewed the .Stl file in Cura, Blender, Rhino, Meshlab, and Slicer. (Slicer and Cura are pathmaking programs) I have also generated GCode with Cura and 3D printed the part. The 3D printed part also resembles what the mesh looks like in all of the programs.

If I smooth the file in TurboCad it does smooth the file in the same way in Cura and the other programs but creates dimensional problems and artifacts. This is why I asked the above questions.

Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Here is the latest file that I am using (Adapter 42). The sweep profile is made from pieces of 12 circles and I am using a compound profile. In comparison I have also attached another similar shape that I made a while back before I found the current simpler way to generate the shape. Originally I made the shape by using a combination of 2 circles and an ellipse, then radially drawing lines outward in 1 degree increments, then taking the mid points or intersections depending on what point of the path I was snapping to around the outer edge. The resultant sweep was SOOOOOO MUCH SMOOTHER than what I am currently getting. Check it out for yourself it is attached (Another Similar Shape 43). I have already saved 43 distinct instances of trying to create the shape and have experienced varying quality of smoothness and errors all along the way. The first save that I have was from 4/22/2014 and I have been working on it intermittently since then.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Andy H

#18
I'll have a look at your file in a minute, attached was what I played with last night, and the Acis settings, contrary to what I experienced last night where I didn't get the 'kinks' found in pic 2, today - adjusting the custom setting before sweeping produced the best results in meshlab, but does slow down TC, you may have already tried this but I'll post anyway.

Personally I don't think I've ever exported an stl that wasn't flawed when opened in another program, in theory adjusting the Acis settings shouldn't create dimensional problems but Smesh can.

John R

This what I got using a Custom ACIS setting, "Maximum Edge Length" = 0.5.

The STL file (below in Dropbox) looked basically the same in TurboCAD & MeshLab. I did not use SMesh.

https://www.dropbox.com/s/iq7k3dsop8ygccf/MicheliDE%20adapter%2037%20%28JohnR-02%29.stl
John R.

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

MicheliDE

TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Bobich

As the file is a later version than I have attached is a reasonable facsimile which to get the wireframe smooth I use a quality faceter and a relative accuracy of 0.001.

Best Regards
Bob
TC 14 Deluxe, TC 19 Pro
Windows 7, 64bit 8GB Ram

MicheliDE

Hi All,

Thanks for your help. In addition to whats above I had to alter these settings in two places.

Options>Drawing Setup>ACIS

and

Sweep Profile Properties > 3D > Edit Faceting Properties

This may be because I am using TurboCad 20. Are these settings more unified in TurboCad 21?

I was able to get a ultra-smooth part with

Normal Tolerance 1 Degree and Maximum Edge Length .1 placed in both areas mentioned.

I think what was holding me back was that you have to set the profile up before you perform the sweep. It seems like altering the sweep properties after sweeping does not auto update the model. I feel that this is something the program should do. Is there an update button or an updated drawing button? I did try to redraw but it didn't update after changing these settings. I tried this with both the original drawing and by opening the .STL file.

Best Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

John R.

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

MicheliDE

Yes that link helped, I didn't know that the right click edit menu is also multi-stepped based on if you select a tool, then right click again to select what to do with that tool all using the same step menu.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

More problems. So now that I have process in which to make the object smooth and perform an effective sweep I have been trying to refine the object. I have reconstructed it using four circles instead of six. Before six circles trimmed together very nicely but I am having a lot of problems with four. When Trimming I have attempted to trim circles to themselves or to a line that should be the intersection between the circles. I have attached an image of this. When I try to trim TurboCad is moving the line in a way that breaks the circle and trims it to the line instead of the other circle. This creates problems with the profile. The object does end up sweeping but it is not a uniform sweep. Is there a Trim to Corner? Initially I drew the top and bottom circles then Used three point circles to draw the left and right circles. I think when I trimmed the four circles to each other before inserting the NW, NE, SW, NE lines turbocad moved the lines when they were trimmed. And this created my sweep problem. Do you have a recommendation on how to best trim two circles together.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

As all of you may have asked.... This is the initial format and everything intersects.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Another Try to Trim. I created the two larger circles, the top and bottom. Then I created the Circles using the center point of the NW, SW, NE, SE lines and used an intersection snap to snap it to where the larger circles cross the lines.

I then trimmed the larger circles by the intersection lines. The trim move the larger circles outward from the intersection. I know that if both of the circles do not cross at the intersection line it will create a point between the two circles and create a non uniform curve.

What is causing TurboCad to move the line during the trim?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Over the course of this morning I tried trimming the four circles in different ways and I was able to get them to trim without moving the lines, they also join just as needed at the intersection of the lines. But now the object will not sweep. It will highlight the both profiles as compound profiles and will think about sweeping. It will go not responding for a while then it will not generate a sweep while leaving both profiles highlighted.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

I then Closely examined all the corners and found that they are not uniform at maximum resolution. The NW and SW are not connected and the SW and SE are connected. Both the left and right sides were created using the same set of object snaps.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

I thought that it must be something really simple so I put dimensions an all major construction lines and found that one of the lines had a .5 degree angle associated with it and it was throwing off my entire left side.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Now With all the Dimensions to ensure that all circles are centered and related together to make sure that I didn't mis snap anywhere.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

There is still a problem with the NW corner. Could Anyone provide some Help Or explanation?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Andy H

difficult to say without seeing the file, could it possibly be that they are all not on the same workplane, 

Henry Hubich

Consider using a single Spline for the path instead of fiddling with those circles. Trace the existing dysfunctional plath, and resist the temptation to use a whole lot of points to define the Spline; three points on each existing arc will probably suffice. By editng the Spline after drawing it,  you can make it conform very closely to the collection of circular arcs.

Henry H

MicheliDE

The circles link perfectly on three of the four intersections, they are all on the same work plane. The intersection is a critical point. How should I trace the circles with the spline without using that point? Also when I zoom into the junction to try to grab the intersection TurboCad Goes not responding and I have to reload the program and file.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

Are you working in RedSDK? It has a habit of representing arcs in the wrong place until you Refresh (F5). You can go to Options / Native Draw, click the "Advanced" button, then checkmark the options you want to automatically refresh.
John R.

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

MicheliDE

Funny that you ask about REDSDK. When I upgraded from TurboCad19 to TurboCad 20 it also asked me to upgrade my Video Driver. So I went to RedSDK website to download the driver and it caused a bunch of problems with my computer. My computer wouldn't go to sleep and it kept crashing TurboCad. I was instructed to just GDI but when I do that it also mis-represents lines meeting. I was then instructed to use my proprietary video card drivers. So I went to the NVIDIA website and downloaded the driver updates and installed them. I did this after originally asking for a link to see if there was an updated REDSDK driver from turbocad help to see if it would be more compatible with my computers card, I also asked if I could get a link to use the old driver that I was using when I was using 19. They wouldn't send me a link. At this time I am using the settings attached with my NVIDIA Quatro FX1800M on my laptop. I never had crashing problems with TurboCad 19 and the REDSDK driver that I installed when I installed 19. I would try different drivers if they were available.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Yes I was hitting refresh at this level of zoom when snapping screen shots of the intersections. Also when trying to snap to somewhere in the intersection, it thinks that the intersection is all along the line that is pictured. I have been having tons of run time errors and freezes during trying to make this object. It occurs when I am coping or pasting or when I am clicking when zoomed in far. TurboCad also goes not responsive when trying to sweep the object. Sometimes the object disappears, sometimes it sweeps way out of the rail, sometimes it sweeps bigger than the rail then thinks some more then fits it back to the rail.

The reason why I was excited about the first smooth sweep that I had was because all the circles from the six circle sweep were joined perfect and created a uniform sweep. But when I realized that I had to go to a four sided circle rail for the sweep and starting having more issues it lead me to believe that something either very simple or very complicated was wrong. Attached is an example where a non-uniform sweep resulted.

An example of the sweep non-uniformity from several file interactions back is attached. The current working file with the three corners joined is attached.

Another question I have is what are .dwl files are those crash reports? Should I upload all of those as well?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

DWL = Drawing Windows Lock

If you're on a network, someone can open/view the file you're working on, but can't make any changes. They're locked out of the file until you close it. The DWL will go away when you close, but can remain if you have a crash. I usually delete 'crash leftovers'.
John R.

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

MicheliDE

I just tried the file that I posted, it doesn't sweep...
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

What I then did was pull all four circles apart, snap them end to end. The result was that there was this very extremely small space between where there was a crossing problem before. But when I clicked on it, it froze. I am going to try to link the space a couple more times because that could be the solution. But if it keeps freezing I won't be able to.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Okay. I got it to sweep. And it is perfect. I had to pull the four circles apart then I had to snap them end to end. This fixed the fourth NW side and the sweep happened really fast without being non responsive.

1.) why did trimming the parts against the lines cause each of the circles to be off by the same amount and prevent proper sweeping.

2.) can you send me video card drivers to try to fix my freezing problem.

3.) This was a very complex shape and turbocad added a lot of added difficultly while trying to create it all of the problems are noted above. Can anyone suggest how I could have produced this kind of shape any differently without these problems and without turbocad crashing on me 12 times per day.

4.) Will upgrading to TurboCad 21 fix all of the issues noted?

I have attached the completed file that sweeps with no problem whatsoever.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

....Actually no canncel that... when i sweep it initially it sweeps perfectly then it doesn't finish so when I hit the finish button it goes non responsive. If I try to save it, it disappears. So it is still not good enough.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Henry Hubich

Quote from: MicheliDE on August 08, 2014, 12:59:59 PM
....Actually no canncel that... when i sweep it initially it sweeps perfectly then it doesn't finish so when I hit the finish button it goes non responsive. If I try to save it, it disappears. So it is still not good enough.

My installation hangs, too, with your drawing. But if I copy-and-paste all the visible stuff into a new drawing, it works OK.

Henry H

John R

I redrew it from scratch. I laid out the four circles, then traced over them at the tangent points with the Polyline tool that had the "Arc Segment" option active. If I trimmed the circles so that they became four separate arcs, it rendered weird in LW Hidden Line. Join Polyline of the arcs created the same problem.

I have no clue why one method works and the others don't.
John R.

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

MicheliDE

Thanks John, but I still don't have a method that completely works, or a response that answers the four questions above. Some additional information. The NW corner messes with machine code and causes a direction change. This causes other problems with manufactured items. Check out what it does to the 3d print. Attached.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

#47
Below is what I get using 3 different methods:

  • I used the 4 arcs as a compound Sweep path.
  • I joined the arcs with Join Polyline and used as a Sweep path.
  • I created a new closed Polyline by tracing over the old.
When rendered in LW Hidden Line, there appears to be problems with the first two methods. What exactly, I have no idea. You should contact IMSI Support, they may be able to give you an answer.

Question #1 â€" why did trimming the parts against the lines cause each of the circles to be off…
I'm not sure why, though I did noticed that the various objects are on multiple workplanes, which can create problems (drawing#61). The Arcs are on one worplane, each 'cut line' has its own WP, other lines are also different.

Question #2 â€" video card drivers
RedSDK list of supported Video Cards and Drivers:
http://www.redway3d.com/pages/GPUList.php

Question #3 â€" creation suggestions
I don't really know; keep it simple. Looking at the Dimensions picture, it showed too many dims.

Question #4 â€" Will upgrading to TurboCAD 21 fix…
Probably not, but you could download a trial at TurboCAD Pro Platinum 21 Trial.
John R.

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

MicheliDE

Thanks John I will investigate these options to see if I get the same tool direction change problem as pictured from the 3d printer.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

John R

See "Reply #45" for a TCW copy of my drawing.
John R.

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