Punch! CAD 
 »  
ViaCAD & Shark 
 »  
2D Drafting 
 »  
Bezier gets bulged when joining to other lines or curves 
 
            
            
    
        
Rank: Guest
Joined: 2/4/2018(UTC)
Thanks: 13 times
 
     
    
        
            
	      
                Hello, everybody,
I wonder if it's because of my ignorance or if it's really just not working properly. I am using Shark Cad 10 with Power Pack Pro 10 and as soon as I draw a curve of any kind (Bezier, Control Point Spline, Interpolate Spline etc.) and want to connect it with a straight line (which has a common point with the spline) with the command Join Curve my spline is changed and somehow bulges out uncontrolled. I thought it was the tolerance value but it happens even if I set the tolerance to 0.00. The screenshots show what I mean by this. With a CAD tool in this price range it is from my point of view not acceptable that combining these simple lines without changing them is not possible. Other CAD tools and even Adobe Illustrator can do this without problems. Now I hope that I simply make a mistake and someone can help me here. Many thanks in advance!
Sunny greetings
Carsten
Edited by user  Thursday, January 16, 2020 12:52:39 PM(UTC) 
 | Reason: Not specified 
File Attachment(s):
 Without Join.png 
(531kb) downloaded 1  time(s). carsten attached the following image(s):
 Joined Drawing  Controlepoint.png 
(175kb) downloaded 0  time(s).  Joined Drawing Bezier.png 
(202kb) downloaded 1  time(s). You cannot  view/download attachments. Try to login or register.
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 971
Thanks: 47 times
 
     
    
        
            
	      
                Yeah this happens. I reported it years ago, never really sure whether I got an answer. I think if you put a really small rad in the corners before the join it works ok. I'm talking like 0.1mm rad so small it wouldn't matter
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Senior Member
Joined: 9/24/2014(UTC)
Posts: 373
Thanks: 8 times
 
     
    
        
            
	      
                Coincidental endpoints are defined as geometrically continuous, apply a fillet between curves and/or lines and you're applying curvature continuity, and when you're joining a curve to a line in PunchCAD you're applying tangential continuity.  The bulge you're complaining about results because joining a spline and a line changes the spline's endpoint tangency to that of the line.  You get the same effect using connect curve instead, where you don't have the endpoints coincidental and you let the program set the curvature and tangency in keeping with its internal parameters.  You control the bulge through the distance between the endpoints of the curves that you're connecting.  Where you've drawn the curve and line with coincidental endpoints but don't require curvature or tangent continuity, there's no particular technical reason to join the figures unless you're using them as a compound profile for surface or solid creation.  That sort of discontinuity is commonplace in maritime modelling, vessels often have plate surfaces that have blend surfaces between them, or chine definitions between surfaces with dissimilar curvature.  Some programs use Bezier segments or compound Beziers with discontinuous interpolation points called "knuckle" points, others like PunchCAD have the capacity to consider a compound profile where line or curve segments meet at their endpoints as a single figure, but you don't need to join them to use them that way, grouping does it when needed.  
            
  
         
     
 
    
        
             1 user thanked murray for this useful post.
 
     
    
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 971
Thanks: 47 times
 
     
    
        
            
	      
                Hi Murray,
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Guest
Joined: 4/10/2018(UTC)
Posts: 19
Location: Switzerland
Thanks: 1 times
 
     
    
        
            
	      
                Why do you want to connect?
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Senior Member
Joined: 9/24/2014(UTC)
Posts: 373
Thanks: 8 times
 
     
    
        
            
	      
                Shark/VC are predicated on being conceptual modellers, so my theory is that the intention is that you rough the tangency by eye and leave it to the program to finesse it.  By roughing it, I mean using good old human fuzzy logic and approximating the tangency, not doing something randomly contrary to what might be intended and then complaining that the program can't make that into a silk purse.   What are you expecting when you join two figures like that, how should the program do it?  You can use fillet or connection to get other outcomes.     
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 971
Thanks: 47 times
 
     
    
        
            
	      
                Oh here we go. Join curve, just as it says, join the curve. They're straight lines so as the names suggest they get joined. Whether that's end points connected permanently or whatever. When you've worked around what it does and know through arsing around with it you then learn not to use it like that. Like I say I went on to using n polygon or whatever its called. As this has all ends points connected. 
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Senior Member
Joined: 9/24/2014(UTC)
Posts: 373
Thanks: 8 times
 
     
    
        
            
	      
                Connect curve does that when their endpoints are coincidental, it keeps them that way, sounds like that's what the OP wants to me, and I would like to know how that's used nowadays, because it's old-school AutoCAD usage to join polylines/polycurves.  I'm not asking the question to exasperate you or acting as an apologist.  I use this tool as it is and if the behaviour is changed to suit your perceptions, that might oblige me to change my usage to accommodate your preference.  I'm not ideologically opposed to change, but I like to know why I should get on board.  Join curve adjusts the tangency of the first curve to match that of the second, and you've used another tool to achieve what you want.   Are we just discussing the semantics of "join"?  
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Senior Member
Joined: 2/19/2007(UTC)
Posts: 361
Thanks: 15 times
 
     
    
        
            
	      
                Coming from Adobe Illustrator I joined lines in the beginning many years ago and had the same problem. Until somebody told me to stop joining lines. I use the join tool to connect curves that does not touch. Often I trim off parts of the curves before joining to make space for a smooth transition. Lines connect easily at their end points by snapping. If you want to move two connected end points you drag a selection box around them with the direct select tool and use the gripper to move.
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Guest
Joined: 2/4/2018(UTC)
Thanks: 13 times
 
     
    
        
            
	      
                Hi thanks for all your explications!
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Guest
Joined: 4/10/2018(UTC)
Posts: 19
Location: Switzerland
Thanks: 1 times
 
     
    
        
            
	      
                You can also use the polygon drawing tool in the draw polygon palette. You might also convert drawn geometry to polygon in that palette. convert polygon results in a linked to base geometry polygon.
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 971
Thanks: 47 times
 
     
    
        
            
	      
                I would start to use N polygon. All end points are, dare I say it, 'joined' so no problems there. If you then show control points you'll see the connecting points which can be selected and moved a certain distance with the gripper. I used to do this so dimension it all and then do as explained to achieve whatever size needed.
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Senior Member
Joined: 9/24/2014(UTC)
Posts: 373
Thanks: 8 times
 
     
    
        
            
	      
                Many of these considerations come down to preference, but yes, keeping things tidy is good practice in almost everythings.  Using constraints, creating compound profiles or curves becomes moot, constraining endpoints and dealing with sketches.  D-Cubed 2D constraints don't work with compound profiles/objects, so you can't constrain a group and conversely, you can't group a constrained profile, but joining or connection is redundant with coincident constraints on the endpoints - unless you require associative tangency, which you can set with arcs, but not with curves, if my memory's working. 
            
  
         
     
 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
            
        
            
            
    
        
Rank: Guest
Joined: 4/9/2017(UTC)
Posts: 577
Thanks: 315 times
 
     
    
        
            
	      
                If you join straight lines you have no longer straight lines, you have then just splines and your extruded object are then to complex. Arcs and lines are much better than splines. Also for Laser cutting are arcs and lines better than splines. Use the splines just when arcs and lines are not good enough!!
Edited by user  Tuesday, January 21, 2020 5:57:16 AM(UTC) 
 | Reason: Not specified 
    OS: Windows 10 | CPU: AMD Ryzen 7 2700 | RAM: 32 GB |  Graphic: AMD Radeon RX Vega 56 | SharkCAD 15 Pro | Unit: mm
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
                           
Punch! CAD 
 »  
ViaCAD & Shark 
 »  
2D Drafting 
 »  
Bezier gets bulged when joining to other lines or curves 
 
    
        Forum Jump
         
Punch! CAD 
  ViaCAD & Shark 
   - News and Announcements 
   - General 
   - 2D Drafting 
   - Surface Modeling 
   - Solid Modeling 
   - Subdivision Modeling 
   - Rendering & Display 
   - Import/Export 
   - Tips and Tutorials 
   - Suggestions 
   - Gallery 
   - PowerPack 
   - Punch Lounge 
 
    
    You cannot  post new topics in this forum.
cannot  reply to topics in this forum.
cannot  delete your posts in this forum.
cannot  edit your posts in this forum.
cannot  create polls in this forum.
cannot  vote in polls in this forum.