Parametric RJT male block
Another parametric anomoly.
Trying to make an RJT male parametric.
I started with just square edges and everything worked ok.
Added the 2 chamfers and still worked ok.
Added the fillet and tapered the nose cone and still worked ok.
Added the seal groove and it work on the smaller sizes. Then I went to the 152 size and it froze. So I undid back a few steps and since then things went funny. Sometimes it worked, other times it didn't. When I went up a size the groove would disappear. Go down a size and the groove would reappear. Also when I went to the 152 size again and it would freeze up.
I have checked my ID's are smaller than my OD's. Lengths don't conflict etc.
I can't see where my constraints might conflict.
Anyone that can take a look and see what I've done wrong.
Attached block file and parameter table csv files.
Any help appreciated.
Cheers
Dennis
Comments
-
Why have the values in a csv much easier just make a list of the values, would only take a few minutes to make then saved in code when inserting parametric block. Easy to use a (nth x lst) to get values, after checking (nth 0 lst) matches the size.
; "PartNumber A_P B_P C_P D1_P D2_P D3_P D4_P SIZE"
(setq lst (list
'("25 RJT MALE" 27 14 4.8 45.7 25.4 22.2 24.2 25)
'("38 RJT MALE" 27 14 4.8 58.42 38.1 34.9 38.1 38)
'("51 RJT MALE" 27 14 4.8 72.72 50.8 47.6 50.8 51)
'("63 RJT MALE" 27 14 4.8 85.42 63.5 60.3 63.5 63)
'("76 RJT MALE" 27 14 4.8 98.12 76.2 73 76.2 76)
'("102 RJT MALE" 27 14 4.8 123.82 101.6 98.4 101.6 102)
'("152 RJT MALE" 29 15 4.8 174.32 152.4 148.4 152.4 152)
)
)Ps need to zoom E 3d model view.
Looks like your missing maybe the insert method say using a Lisp it can set the parametric values based on say a simple size choice.
I could only see a SOLID is it meant to be parametric ?
0 -
I am new to BricsCAD, only been using for a few months. Not sure about using code for parametric blocks.
The csv is imported into the block parameter design table when in "Blockedit". I attached it so you can see the values and check the ID's are smaller than the OD's etc.
Don't just open the file "RJT male", insert it into another drawing as a block then can edit it with "Blockedit" and see the parameters and constraints.
Cheers
Dennis
0
