News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Open and closed curves

Started by cavelamb, August 27, 2013, 07:29:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cavelamb


Can someone explain this in some kind of pidgin  mathematics what this means?

Open curve verses closed curve.

Something like that...


Dempsey

A closed curve has no begin and end points; a circle is an example of a closed curve. Google "closed curve" and you see plenty of links.

An open curve has a distinct begin and end point; an arc is an example of an open curve and so is a line.
Dempsey

Dr PR

#2
With DesignCAD closed curves do have beginning and end points.

With circles it is the point on the circle that defines the radius (point 1 is the center, point 2 sets the radius).

With curves (C) that loop back on themselves the points are numbered in the sequence you set them, from 1 to n where n is the last point you set. With closed curves point 1 and point n are at the same position.

I mention this because many operations in DesignCAD pay attention to the point order. For example, if you create closed curves and then stretch a grid between them with "Draw/Surface Connect" the function will connect point 1 on the first curve with point 1 on the next curve, and so on. If all point 1s are not on the same side of the curves the resulting grid may be badly twisted. This will happen on just about any Surface Connect, but it is especially problematic if you choose the "Retain Original Point Order" option. To get a smooth untwisted grid surface you MUST position all point 1s at the same relative position on all of the curves used to define the surface.

The real problem with closed curves is that after you create the curve it can be difficult finding the starting point. The Info Box will tell you the coordinates of the points, but if you gravity snap to the first/last point location you might get either. If you select the first point on some curves and the last on others functions like Surface Connect may produce bizarre results.

If you connect two curves with "Edit/Selection Edit/Combine Lines" (B) all bets are off as to which point will become point 1.

Herea re some related topics:

http://forum.designcad.com/index.php?topic=4075.msg23388#msg23388
http://forum.designcad.com/index.php?topic=752.msg3524#msg3524

Phil
DesignCAD user since 1987

Lar

Quote from: Dr PR on August 27, 2013, 10:04:15 PM
The real problem with closed curves is that after you create the curve it can be difficult finding the starting point. The Info Box will tell you the coordinates of the points, but if you gravity snap to the first/last point location you might get either.
Phil
A quick way to identify the first point is to select the entity and in the info box go to the "point coordinate" section (near the top, won't be visible for things like groups and solids), double click in the x, y or z field (to highlight) and enter zero (if 0 is already there enter something else, of course). Point-1 will move away from point-last and also show where point-2 is, ie the direction the line running. Once I see this I undo to put the point back.

Lar

samdavo

#4
So Lar, (great idea for lines but ...)  how does that work for circles?
PS I have never had a problem with needing to know the first /last points on the 2D circle btw - clearly identifiable when you select the circle surely.  i.e. the "principal radius line" shows up as 2 handles. 

I don't see Infobox disclosing the coordinates of the outer end of this principal radius however (assuming it was important, lol) - although it gives "start angle" and radius.   And if you manually change start angle in the Infobox , you seem to get a third handle, and a second "radius line".  (2 cents).  Hey, I'm not gonna lose any sleep - I would just call this a closed curve, (and close the file).

PS I seem to recall something about direction of a circle being relevant to inside out facets when you make a 3D sphere (?)  Although I also seem to recall the problem was insurmountable in DCAD - (undoubtedly I'm misquoting you prl).  Would a mirrored circle achieve a reversal of direction(?) - and would this ever be relevant or important, lol.   Clearly I know what I'm talking about lol.

In a recent survey, we asked people to indicate whether they preferred clockwise or anticlockwise circles.    Of the 5000 people we surveyed,   48% said "yes",  49% said "no",  2% didn't know,  and 1% didn't want to know.

Lar

Quote from: samdavo on August 28, 2013, 11:37:52 AM
So Lar, (great idea for lines but ...)  how does that work for circles?
Upon lacking the spunk to open dcad right now and confirm this I would hazard a guess that dcad always draws circles and arcs in a counter-clockwise direction.

The radius point will be seen if you select the circle in point select mode and you would always be able to gravity-snap to it.

Lar

samdavo

#6
No argument from me Lar.
Quote from: cavelamb on August 27, 2013, 07:29:15 PM
Can someone explain this in some kind of pidgin  mathematics what this means?
Open curve verses closed curve.
Something like that...
CL,
I suspect you are going to have to define the question (problem?) a bit more thoroughly.  I suspect we are all guessing at what you are saying - although it looks like an interesting drawing. 

How did you draw the "parabola+line"?
You draw one as reflected and one rotated.
Is the line even necessary if you mirror the parabola only (to make a "closed football")?
or would that be two open half-footballs? (even if grouped)
and can these two be made to be a closed football.
And what significance at the end of the day? (i.e. 2 parabolas grouped is just as "effective" yes?)
Without guessing to some extent, I am not sure I understand. 

samdavo

#7
CL
Just looking at your drawing.
As you are perfectly aware, lol - the closed one is simply the 5 points around the curve, plus point 6 on top of point 5 (to get an abrupt change of direction) ;
as well as two points (7 and 8 ) on top of the starting point 1.

I agree with you that it is closed by that action. 
As evidence, if you do that process with 7 points only - i.e. omitting the 8th point, then the curve is clearly made continuous through the first point (see jpeg).  (2 cents).

PS .  CL,  As for your reference to a "rotated" version , sorry lost me there.  (although I see you have drawn a 9-pt-football rather than an 8-pt-half-football-plus-line).  Cheers, sam.
But you know what they say about structural engineers don't you - if it was up to them to design aircraft, the wings would never overcome the weight of the steel beams :)

samdavo

#8
Further, if you then go to the 7-point Closed Curve just drawn (with the continuous banana/curve through points 6, 7 alias 1, to 2 and 3...)
compare a straight in poker with Queen-King-Ace-duce-three;
or more accurately 67123 = King-Ace-Ace-Duce-Three


and use Lar's trick of adding 10 to the x coordinate of point 1 (in the InfoBox),  i.e. from  nom 200 to 210,  then three things happen :-

1. One is that point 1 moves to the right by 10 (doh) - whilst point 7 stays put (doh)
2. the 7-point curve becomes discontinuous, and
3. the banana / curve between 6 and 7 (heading around to 2) changes back to a straight line.  - {edit}which again reinforces the opinion that the "continuous" element has been lost from its DNA .
And now a straight has to be either Ace-high or Ace-low.

samdavo

#9
and CL - just playing around with options - in case you wanted to redesign that nosecone lol.
Sure to fly heaps better :)

Herewith what happens when you draw the full (closed) 9 point "elliptical curve";   
and then cut the left half of it off  (resulting in a 49 point  "semi-elliptical vector") - and split that in two; and add colours;
and then sweep them around the horizontal axis.

It's called a "half-football nosecone", with approx. horiz tangent around the rim. (similar to what you called the "Rotated Shape" I believe (?)
All deadly simple.  But who knows, I/we might accidentally have redesigned the light aeroplane, lol (2 cents)
You can be Orville.  I'll be Wilbur.


samdavo

Heck, we could call it the Wilbur Nosecone.
:)

samdavo

#11
flattened nosecone maybe?

cavelamb


samdavo

#13
CL - howdy
so what's the material of that cone that makes it so shiny?
maybe add the dcd?
cheers

PS That spacerocket (?) reminds me ... someone mentioned during the week that Voyager 1 had officially left the solar system -  and was speculating on whether Carl Sagan should have included a map in amongst the on-board info (which he didn't btw  :)  ) - the theory being that if it found intelligent life out there, they are welcome to listen to our music - but should not necessarily be able to track us down and maybe eat us or discombobulate us or whatever.

Well, not on the first date anyway.

cavelamb

Oh, that's just ruby from the materials selections.
Plus a bit of work with a buffer and some polish?

As for the aliens?
http://imgur.com/FkJ9G