CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9399
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedHELIX non perfect radius

 Post Reply Post Reply Page  <12
Author
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 28.Apr.2017 at 12:35
Are you saying you don't know how to use the program provided by scj?

In my test of the program it appears to run on its own.  I think the user can change the accuracy, height, and radius by editing these parameters found within the body of the code.  

(setq acc 10000)
(setq height 100.0)
(setq radius 100.0)

Using the presets I got the following results (plan view / SE isometric view):




Edited by John Connor - 28.Apr.2017 at 13:48
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
philippe JOSEPH View Drop Down
Senior Member
Senior Member


Joined: 14.Mar.2011
Location: France
Using: AutoCAD Mechanical 2017
Status: Offline
Points: 1426
Direct Link To This Post Posted: 28.Apr.2017 at 12:53
Yes John and Jochen, I don't know how to use the program.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 28.Apr.2017 at 12:56
See my post that is just above yours.

You do know how to load a custom lisp program don't you?


Edited by John Connor - 28.Apr.2017 at 13:48
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
philippe JOSEPH View Drop Down
Senior Member
Senior Member


Joined: 14.Mar.2011
Location: France
Using: AutoCAD Mechanical 2017
Status: Offline
Points: 1426
Direct Link To This Post Posted: 28.Apr.2017 at 13:51
OK John, I have seen the result and I don't know how to use the program ( and also how to make a lisp file but I use some that where given to me ).
I'm a basic designer ( with some age and experience in my specific work ) but I don't know about programs.
I have learned 3D on my own with the AutoCAD printed book ( R13 year 1995 ) and PDF books from AutoCAD 2006 to 2012.
Jochen, I have some problems with the connection with the site www.black-cad.de, maybe not allowed to reach here in my work.
The datas of the 2 HELIX that I want are in my AutoCAD drawing :
HELIX G1 : Radius 85 m , height of one complete turn : 121.76780370 m ( or 38.82315600 m for 114.77.858461° )
HELIX G2 : Radius 62 m , height of one complete turn : 91.54614061 m ( or 29.18488500 m for 114.76790316 ° )
In other words, could you do it for me in AutoCAD 2012 dwg file ?
 
N.B. I understand set height 100 , set radius 100 but I don't understand what is acc(uracy) 10000 ( is it the number of points of the helix ? )


Edited by philippe JOSEPH - 28.Apr.2017 at 14:22
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 28.Apr.2017 at 14:03
The first step is to copy and paste the lisp routine into a text file that is created using any ASCII text editor like Notepad which comes standard with Windows.  Edit the code for the height and radius of your helix then save it as a .lsp file.  You can name the lisp file anything you like but make it something that will be recognizable.  You know how to do that right? 
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
philippe JOSEPH View Drop Down
Senior Member
Senior Member


Joined: 14.Mar.2011
Location: France
Using: AutoCAD Mechanical 2017
Status: Offline
Points: 1426
Direct Link To This Post Posted: 28.Apr.2017 at 14:28
Yes John, now I will try and create that lisp file with a copy/paste of the text given by Jochen, thanks a lot.
I use some lisp files but I didn't create them.
Back to Top
scj.schulz View Drop Down
Groupie
Groupie


Joined: 27.Dec.2009
Location: Germany
Status: Offline
Points: 30
Direct Link To This Post Posted: 28.Apr.2017 at 15:10
Hi Philippe
can you send me your email-adress so I can do the HELIX-curves for you and explain the way how to use the LISP.
And - yes : "acc" is the accuracy.
This is the number for the points of the 3DSPLINE - i.e. a large number means a better approximation.
Good luck
Jochen
scj.schulz(at)t-online.de

Back to Top
philippe JOSEPH View Drop Down
Senior Member
Senior Member


Joined: 14.Mar.2011
Location: France
Using: AutoCAD Mechanical 2017
Status: Offline
Points: 1426
Direct Link To This Post Posted: 28.Apr.2017 at 15:15
Hello again Jochen and John, Some friend here told me about his memory of AutoCAD 12 and how he did those lisp and now it works !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks again for all.
Back to Top
philippe JOSEPH View Drop Down
Senior Member
Senior Member


Joined: 14.Mar.2011
Location: France
Using: AutoCAD Mechanical 2017
Status: Offline
Points: 1426
Direct Link To This Post Posted: 28.Apr.2017 at 15:32
Here we are, also OK in the plan view.
I would have eventually questions about "vecteur de tangente" DĂ©part et Finale but it's already a miracle.


Edited by philippe JOSEPH - 28.Apr.2017 at 15:34
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 28.Apr.2017 at 15:35
At least someone is happy today.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top

Related CAD tips:


 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,641 seconds.