Boolean subtraction of two circle
-
If the circles are both the same radius, then the second arc's angle would be
360 degrees - angle of first arcSo if the first arc is 260 degrees, the other would be 100 degrees.
...though, saying that... since Sketchup circles aren't true circles - the ends might not meet...
-
If you are ultimately adding faces to the circles, you can more easily track the created faces and delete the "other" one.
-
I created two arc
group = Sketchup.active_model.entities.add_group vector2 = Geom;;Vector3d.new 0,0,1 group.entities.add_arc point0, vector2, vector, diametr/2, -150.degrees, 150.degrees point0.z=point0.z-diametr*(3**0.5)*0.5 group.entities.add_arc point0, vector2, vector, diametr/2, -30.degrees, 30.degreesHow create face and push it? I try. What is wrong?
face=Sketchup.active_model.entities.add_face(group.entities) face.pushpull distance,true

-
You're getting errors?
A bit hard to guess what isn't working.But if I where to guess:
face=Sketchup.active_model.entities.add_face(group.entities)
Can you really create faces from entities located in a different context than the one you try to create in? -
Thomthom
Grumpy... 
To be kinder... it should be:face=group.entities.add_face(group.entities.to_a)or even
face=group.entities[0].find_faces

-
Yes, this line is not correct, but I don't now how create face limited by two arc.
If I explode group, than I can generate face.


-
TIG, thank. It is work.
-
-
Well it certainly wasn't my intention to come across as a drunk teacher.
But I see what you mean. I was just sweeping by the forum and didn't look much into it. (which is why I didn't test the add_face method and instead asked questions)Thanks for pointing that out to me though. Sense of mood are too easily lost in written communication - which makes wording more important.
(Mange takk.
) -
@thomthom said:
@tig said:
Thomthom
Grumpy... 
I came across grumpy?
The English phrase is you were 'terse' [avvisende]... or 'a little short' [litt kort]... just like your old school teacher might be when you ask a seemingly stupid question or you are doing something that is obviously not right [to him] AND he has a hangover etc etc

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement