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

distribution holes

Angelo_leo

Guest
Hi, guys, I've been kneading this morning to find a solution to my problem, unfortunately without succeeding.

I'll tell you what I want to do.

I have a parametric block that should represent an alucobond panel, and since I have 100 thousand different sizes, I would like to find a solution to the distribution of mounting holes arranged symmetrically, for each different size of the panels.

we have a panel of 2800 mm long, to be drilled with the first and last hole with a distance from the edges of 25mm and a maximum hole interaxis 600mm between one and the other.

the block I created it with a "linear parameter" that takes all the length of the panel and a "stira" action to modular it in length.

the holes instead I used a "series" action on the "linear parameter" mentioned above giving a maximum distance between the columns of 600mm.

the problem arises when the interaxis of the holes are not submultips of 600 and the last hole is different from that of the first. in a few words I do not have centered and symmetric holes.

I attach files to better understand my problem.

is there a way to reproduce this?
 

Attachments

  • s1.webp
    s1.webp
    23.6 KB · Views: 19
  • s2.webp
    s2.webp
    17 KB · Views: 20
hi test with total length of the piece divided distance of the holes = total number holes
 
hi test with total length of the piece divided distance of the holes = number total holes
hello falonef, thank you for the answer, but unfortunately and forgive me, I did not understand.
I try to explain better, I don't want to have done it in the description.

I once set the dynamic block, I would like to be free to change it in length with the iron action, and as I reach or notice, the parameterizations must be adjusted according to 3 simple rules.

1) first and last hole distance from the edges of the panel =25mm
2) maximum central hole interasse = 600
3) it interacted between first and second hole and between last and last hole equal, and not more than 600mm.

Is it possible to parameterize something like this in autocad?
 
writing in the appropriate section there are more likely to have advice from those with autocad working there assiduously.
ask the moderators to move the discussion.
 
I don't think autocad can use formulas. Maybe I'm wrong.

in catia v5 yes.
this allows you to configure very well
 
The good thing is that you parameterize what you need, how you need it. e.g. beyond the length of the panel (here for convenience I made from hole to hole with 25 mm fixed distance from the edge, parametric also that value, you see in the node just above, but I can easily create a value that considers from panel board to panel board). . .
00.webp...can handle the panel height. . .
01.webp
02.webp...the maximum intersection between the holes...
03.webp
04.webp...and of course the radius/diameter of the holes.
05.webp
06.webpI already have the design in autocad and I can place it where it is.
 
Hello, Tristan!
very interesting this thing, but unfortunately in our studio we only work with autocad, and interface with other technicians I am a little forced to use it as an exlusive.

Too bad, because it would save me a lot of time something like that.

ps: forgive ignorance.

What do you mean by autocad vanilla?


Thank you so much for your help anyway.
 
Hi.
I do not use autocad from a lifetime
But I think, even with the current versions, you can program in *.lisp.
I have done a lot of personal utilities with excellent results on the downturn of time.
instead of the dynamic blocks that have limits, it could be a valid alternative.
with that language you can insert variables.
It is not a very complicated language to learn.Look here
 
Last edited by a moderator:
see if my lisp command could help you:
 
see if my lisp command could help you:
hi x11start, meanwhile I thank you for ocndivising your lisp which is very interesting.
could help me speed up the work I have to do.

I just noticed something:
every time I start the command I get the osnap, or better turn off certain and activate others.

is it my problem or is it something related to the operation of the lisp?
 
hi x11start, meanwhile I thank you for ocndivising your lisp which is very interesting.
could help me speed up the work I have to do.

I just noticed something:
every time I start the command I get the osnap, or better turn off certain and activate others.

is it my problem or is it something related to the operation of the lisp?
I think I fixed it.

in practice I modified the variable "osmode" within the code of your lisp.

I now activate the osnap that I am interested in corresponding to the variable inserted.
 

Forum statistics

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

Members online

No members online now.
Back
Top