- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have sheet metal rule that takes the flat pattern, organizes the flat extents and then concatenates a custom part number. This helps me group my items on my parts lists.
Works great but on parts like this, where there is a cut, the flat pattern reports the smaller, interior part of the part. There is an additional part behind the cutout(not shown), that gets laminated to the inside face, which secures the smaller interior sheet metal circle in position, (it doesn't actually float there haha)
is there a rule to manipulate the flat pattern to grab the sheet extents and not the cut out? I have attached the part, I am using Inv, 2016, I am thinking of maybe creating a custom parameter, but I am not sure how to map it to the actual flat pattern initially.
here is my rule I use to create the custom part number.
'FLAT PATTERN DIMS
TEMP_EXTENTS_LENGTH = SheetMetal.FlatExtentsLength
TEMP_EXTENTS_WIDTH = SheetMetal.FlatExtentsWidth
x = TEMP_EXTENTS_LENGTH
y = TEMP_EXTENTS_WIDTH
'ENSURE LONGER DIMENSION IS DEFINED AS LENGTH
If x > y Then
EXTENTS_LENGTH = SheetMetal.FlatExtentsLength
EXTENTS_WIDTH = SheetMetal.FlatExtentsWidth
ElseIf x < y Then
EXTENTS_LENGTH = SheetMetal.FlatExtentsWidth
EXTENTS_WIDTH = SheetMetal.FlatExtentsLength
End If
'PART NUMBER NAMING
extlength=EXTENTS_LENGTH
extwidth=EXTENTS_WIDTH
extarea=AREA
'convert values to fraction
oW = RoundToFraction(extlength, 1/16, RoundingMethod.Round)
oL = RoundToFraction(extwidth, 1/16, RoundingMethod.Round)
'create custom part number
iProperties.Value("Project", "Part Number") = iProperties.Value("Project", "Cost Center")&" - LENGTH " & oW & " - WIDTH " & oL
The only way I can think of to do this without iLogic is to perform the cuts fully(leave no circle), then do a reverse of the same cuts (leave only the circle) and make those parts phantom so they don't count as parts, but this is still extra .ipt's and time.
thanks!
Sean
Product Designer at Teksign Inc.
Inventor 2016 SP1
Dell Precision 3660
i7-12700 @ 2.40GHz-4.90GHz
32GB DDR5 4400MHz RAM
NIVDIA RTX A2000 6GB
Solved! Go to Solution.