Discussion forum
CAD discussion |
Please abide by the rules of this forum.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
How to Draw Spiral-Alike Object in ACAD 2014? |
Post Reply | Page <12 |
Author | |
dery
Senior Member Joined: 31.Jan.2018 Location: United States Using: AutoCAD 2014 Status: Online Points: 138 |
Post Options
Thanks(0)
|
This is the properties menu of my AutoCAD 2014 looks like.
|
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 660 |
Post Options
Thanks(0)
|
It must be related to this confusing aspect in your image:
That should say Spline in the light blue box, or if you have more selected than just the Spline, it should say All with a number in parentheses of the quantity of selected objects, and a breakdown under it showing how many of each type of object are in the selection. Yet it looks like you do have the Spline selected, with all its grips showing -- whether also anything else, I can't tell. If you can figure out why that what's-selected box is empty, maybe that will help with getting to the end tangent vectors.
Edited by Kent Cooper - 19.Aug.2024 at 19:35 |
|
dery
Senior Member Joined: 31.Jan.2018 Location: United States Using: AutoCAD 2014 Status: Online Points: 138 |
Post Options
Thanks(0)
|
I have no idea of why the selected-box is empty. What should I do then? Edited by dery - 20.Aug.2024 at 09:42 |
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 660 |
Post Options
Thanks(0)
|
Maybe this will give you some help. I have no other suggestions.
|
|
dery
Senior Member Joined: 31.Jan.2018 Location: United States Using: AutoCAD 2014 Status: Online Points: 138 |
Post Options
Thanks(0)
|
Unfortunately, after doing your suggestions, still not working. Can it be done by using command?
|
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 660 |
Post Options
Thanks(0)
|
It can be done with entity data. If edata is the entity data list of a Spline [extracted with (entget)], this will make the start tangent [the 12 entry] upward and the end tangent [13] downward:
(entmod (append edata '((12 0.0 1.0 0.0) (13 0.0 -1.0 0.0)))) Play around with the value of what's 1.0 there [both positive and negative] to adjust the "strength" of the directions. |
|
dery
Senior Member Joined: 31.Jan.2018 Location: United States Using: AutoCAD 2014 Status: Online Points: 138 |
Post Options
Thanks(0)
|
How do I do that? Could you tell me please the step-by-step procedure? It's better if you show me by gif animation.
|
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 660 |
Post Options
Thanks(0)
|
In simplest terms, paste this in at the Command: line:
(defun C:STE (/ spl sdata) ; = Spline Tangencies at Ends (setq spl (car (entsel "\nSpline to have end tangent directions forced: ")) sdata (entget spl) ) (entmod (append sdata '((12 0.0 1.0 0.0) (13 0.0 -1.0 0.0)))) ) Then type in the command name STE. It can be made more sophisticated, such as to verify that you selected an open-ended Spline. Note again that this particular version forces the starting tangency to be upward, and the ending tangency downward, as appropriate to the images in this topic. Different versions could be made for different orientations. Or it could be made to ask, or possibly to determine something from the configuration of the selected Spline, and/or to figure out the "strength" of the directionality based on something about the Spline, and so on. If you paste it into a plain-text editor such as Notepad, and save it to a file with a .LSP filetype ending, you can use APPLOAD to load it into any drawing. If you would use it often enough to justify this, it can be made to automatically load in every drawing you open, so it will always be available.
|
|
dery
Senior Member Joined: 31.Jan.2018 Location: United States Using: AutoCAD 2014 Status: Online Points: 138 |
Post Options
Thanks(0)
|
I got this message after paste-ing the code you sent to me and execute it by typing STE:
"Spline to have end tangent directions forced:" What should I do?
|
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 660 |
Post Options
Thanks(0)
|
Pick it. Maybe I should have made the prompt more long-winded:
"Select Spline to have end tangent directions forced:"
|
|
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,520 seconds.