Arch: Fixed CTH profiles - fixes #2826
This commit is contained in:
@@ -118,9 +118,9 @@ class _ProfileC(_Profile):
|
||||
import Part
|
||||
pl = obj.Placement
|
||||
c1=Part.Circle()
|
||||
c1.Radius=obj.OutDiameter.Value
|
||||
c1.Radius=obj.OutDiameter.Value/2
|
||||
c2=Part.Circle()
|
||||
c2.Radius=obj.OutDiameter.Value-2*obj.Thickness.Value
|
||||
c2.Radius=obj.OutDiameter.Value/2-obj.Thickness.Value
|
||||
cs1=c1.toShape()
|
||||
cs2=c2.toShape()
|
||||
p=Part.makeRuledSurface(cs2,cs1)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#U= U-profile
|
||||
###########################################
|
||||
#Circular tube
|
||||
#Category,Name,H,Outside diameter,Thickness
|
||||
#Category,Name,C,Outside diameter,Thickness
|
||||
CTH,CTH423,C,42.4,3.2
|
||||
#H- or I-profile
|
||||
#Category,Name,H,width,height,web thickness,flange thickness
|
||||
|
||||
|
Reference in New Issue
Block a user