• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

2d automatic spiral design

  • Thread starter Thread starter Long
  • Start date Start date

Long

Guest
Good morning to all,
I'm new to the forum and I hope I don't make mistakes.
I need to make spirals within an area (note). the step of the spiral is chosen by the user. the length of the spiral cannot exceed a dark value (e.g. 100, chosen by the user). the program should evaluate the area to be filled and decide how many spirals to draw inside (knowing that the area covered by a spiral is = length*pass) so as not to exceed the max length set to the single spiral and trying to make spirals of comparable length.
I don't know if I was very clear, maybe with vba you can do something?maybe starting by degrees?
I attach a file to make it clear how I want the final result.

thanks to everyone for availability
 

Attachments

Good morning to all,
I'm new to the forum and I hope I don't make mistakes.
I need to make spirals within an area (note). the step of the spiral is chosen by the user. the length of the spiral cannot exceed a dark value (e.g. 100, chosen by the user). the program should evaluate the area to be filled and decide how many spirals to draw inside (knowing that the area covered by a spiral is = length*pass) so as not to exceed the max length set to the single spiral and trying to make spirals of comparable length.
I don't know if I was very clear, maybe with vba you can do something?maybe starting by degrees?
I attach a file to make it clear how I want the final result.

thanks to everyone for availability
bhè definitely you can do, but it is not one thing you do in 5 minutes.
what would come out of it is a real program, the biggest rock I see is to divide the area into more spirals in the cso where the spiral is longer than the value imposed. Now I have absolutely no chance to develop this... if I have a moment I try to see but without obligation!
 
thanks for the celere answer shape.
I realize that this is not something you can do in 5 minutes (unfortunately...:frown:)
If maybe you start by grades?
realize a well-known area and fill it with a single spiral (given the possibility to choose the step) do you think it is more feasible? (remains at the user's discretion to dimension an area properly). Thus, at least initially, the problem of having to make the program choose how many spirals to do.

other thing: what would be the best way to approach this problem at the level of programming language?
Is vba correct or would it be better to lisp or something?
Unfortunately, I am a bit neophyte from the point of view of programming and I do not know where to start for the study of such languages; What do you recommend?

Thank you.
 
thanks for the celere answer shape.
I realize that this is not something you can do in 5 minutes (unfortunately...:frown:)
If maybe you start by grades?
realize a well-known area and fill it with a single spiral (given the possibility to choose the step) do you think it is more feasible? (remains at the user's discretion to dimension an area properly). Thus, at least initially, the problem of having to make the program choose how many spirals to do.

other thing: what would be the best way to approach this problem at the level of programming language?
Is vba correct or would it be better to lisp or something?
Unfortunately, I am a bit neophyte from the point of view of programming and I do not know where to start for the study of such languages; What do you recommend?

Thank you.
Lisp and vba are both valid depends on what one can do... I think the lisp much more powerful as language but I do not know it well, I generally develop in vba. But the vba is coming from autocad scenes for the .net... so if you have to leave 0 I would recommend the lisp.... that on the net you find a tide of documentation.
 
thanks for the precious advice.
I'll be grateful if I can give myself a hand just to emulate the "simplified" version:

realize a well-known area and fill it with a single spiral (given the possibility to choose the step; remains at the user's discretion to dimension an area properly). Thus, at least initially, the problem of having to make the program choose how many spirals to do.

Obviously when you have some time and want.. .

Thank you.
 
thanks for the precious advice.
I'll be grateful if I can give myself a hand just to emulate the "simplified" version:

realize a well-known area and fill it with a single spiral (given the possibility to choose the step; remains at the user's discretion to dimension an area properly). Thus, at least initially, the problem of having to make the program choose how many spirals to do.

Obviously when you have some time and want.. .

Thank you.
Okay, as soon as I have an apology, I see what I can do. .
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top