File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3834,7 +3834,7 @@ def cone(
3834
3834
:return: A cone object for each point on the stack
3835
3835
3836
3836
One cone is created for each item on the current stack. If no items are on the stack, one
3837
- box using the current workplane center is created .
3837
+ cone is created using the current workplane center.
3838
3838
3839
3839
If combine is true, the result will be a single object on the stack. If a solid was found
3840
3840
in the chain, the result is that solid with all cones produced fused onto it otherwise,
Original file line number Diff line number Diff line change @@ -2445,13 +2445,11 @@ def testSphereCombine(self):
2445
2445
2446
2446
def testConeDefaults (self ):
2447
2447
s = Workplane ("XY" ).cone (40 , 10 )
2448
- self .saveModel (s )
2449
2448
self .assertEqual (1 , s .size ())
2450
2449
self .assertEqual (1 , s .solids ().size ())
2451
2450
self .assertEqual (2 , s .faces ().size ())
2452
2451
self .assertEqual (2 , s .vertices ().size ())
2453
2452
s1 = Workplane ("XY" ).cone (40 , radius1 = 10 , radius2 = 5 )
2454
- self .saveModel (s )
2455
2453
self .assertEqual (1 , s1 .size ())
2456
2454
self .assertEqual (1 , s1 .solids ().size ())
2457
2455
self .assertEqual (3 , s1 .faces ().size ())
You can’t perform that action at this time.
0 commit comments