Hi Dan,
I agree with all what you say about Sketchup being a polygonal modeler, but what is not consistent IMHO is the fact that the circumference (outer loop of a disc) of a circle is exact while the area of the circular face is not.
If SU 'knows' how the perimeter of a circle is calculated, why doesn't it know how to compute the area (assuming the outer loop of a face is a circle).

Math::PI x 2 x 50
=> 314.1592653589793

Math::PI x 0.5 x 0.5
=> 0.7853981633974483
Posts
-
RE: Weird area calculation
-
[Plugin] Quick selection v 1.1.0
Hi all,
Version 1.1.0 of Quick selection is released here:
[link https://sketchucation.com/plugin/2930-quick_selection]It introduces selection criteria such as length, area, diameter, radius, volume, side, perimeter...

and logic operators such as:

Please see DBUR_QuickSelectionHelp.pdf in the Resources folder or click on the '?' button of the dialog, for more information.
Enjoy !
-
RE: Request Section Management Panel
@alexpacio2013
OK I got it. Currently I'm working on an update of my 'Scenes Tools' plugin and it will do almost what you're after.
If time permits, I'll develop a script to choose a scene and to activate (or not) a section plane for that scene and update the scene.
Regards, -
RE: Request Section Management Panel
Maybe my Section Manager could help you a bit, to easily find, activate/de-activate your section planes.

It's free and can be found at the Plugin Store and at the EW.
-
Weird area calculation
Hi all,

Look at these 2 circles: one made of 16 segments and the other made of 50 segments, both have a radius of 50cm.
Faces within these circles have the same circumference, but not the same area.
None of these areas are exact, and even a circle made of 10000 segments will not output the exact area.
PI * R * R gives 0.7853981633974483 m²
The less the number of segments, the greater the error…
Same goes for any face that have curve(s) in its outer loop, and this is a great issue when we need accurate areas calculations.
Disapointed…
When will SketchUp have a good integral calculator ? -
RE: How to make a face from a closed curve in FredoSpline. Methods
Hi:
Most of the spline commands can generate a face when they are closed:
If this is not the case, select the spline and type in the Ruby console:
spline=Sketchup.active_model.selection[0] # will return something like => #<Sketchup::Edge:0x000001a70b1968e8> face = spline.find_faces # will return something like => 1 (1 being the number of face(s) createdor simply redraw a segment of the spline and the face will also be created.

Regards
-
RE: [Plugin] angle between planes
Hi,
FYI, you can try my Query+ plugin:
[https://sketchucation.com/plugin/2654-queryplus](link url)

It can give you lots of informations (angles, volumes, distances...) about various objects of your model, not only edges


Regards
-
RE: SVG or other vector file import WITH colors
To convert images into 'shapes' without having to trace over them, look at this: [https://sketchucation.com/plugin/2893-pic2shape]
-
RE: Automatic Face Reverser 2025 - Alive or dead?
Hi,
Attached here is a rework of this old script.
Unzip vbfr.zip and just put the RBE into your Plugins folder.
Options are now available in the Tools menu, under the submenu "Automatic face reverser".
Hope this helps. -
[Plugin] Quick selection
Hi all,
This is a rework of an old script I published about 10 years ago.
Enhanced dialog, more selection modes options, more criteria to choose from.
Please read the help file: click on the '?' button of the dialog.

Download it here: [https://sketchucation.com/plugin/2930-quick_selection](link url)
Enjoy!
-
RE: How to Obtain Length and Width Values from the Material Panel via SketchUp Ruby API?
Above is a little enhancement: select the material before typing matTexture in the console.
Regards -
RE: How to Obtain Length and Width Values from the Material Panel via SketchUp Ruby API?
Here is a little snipet
Open the console, load the RB and type: matTexturedef matTexture() model = Sketchup.active_model materials = model.materials mat = Sketchup.active_model.materials.current mat_name = mat.display_name texture = mat.texture if texture t_height = texture.height t_width = texture.width UI.messagebox( "Material " + mat_name + "\n\nCurrent size:\n" + "Height: " + t_height.to_s + " inches\n" + "Width: " + t_width.to_s + " inches") else UI.messagebox("No texture applied to this material",MB_OK) end endPlease select a material first
Retrieved values are in INCHES
Hope this helps -
RE: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012
Hi,
I made it work with SU2023, there were 2 syntax errors with the Ruby version used at that time (2023). Try it with 2024/2025. -
RE: Flatten surface / vertices to selected face
Hi,
Maybe one of my projection tools will do what you are asking for:[https://extensions.sketchup.com/extension/8f66e284-c0e3-45a9-be6e-e86911a3cf5e/projections-tools](link url)
(an old version is on the plugin store but the latest in on the extensions warehouse)Click on the second icon (starting from left) to project a face perpendicularly on another face plane.
Hope this helps, -
RE: [Plugin] Door-Lintel Update + Window-Sill
Me again,
Same goes for door_lintel.rb -
RE: [Plugin] Door-Lintel Update + Window-Sill
Hi all,
My baby is quite old now
Here is the non-encrypted version. Please unpack in your Plugins dir.
No update because I haven't SU2024.
Regards,DBUR_Lines2Tubes.zip -
RE: BZ_toolbar Bézier curve tool
SketchUp Extension Warehouse
Your library of custom third-party extensions created to optimize your SketchUp workflow.
(extensions.sketchup.com)
-
RE: 'break_edges' behavior wrong when in a group context
Yesssss ! Deleting all faces before using find_faces WORKS.
Thanks a lot TIG -
RE: 'break_edges' behavior wrong when in a group context
Oh and iterating through the inner edges array and use edge.find_faces doesn't help...
-
RE: 'break_edges' behavior wrong when in a group context
Thanks TIG.
Unfortunately intersect_with_instance doesn't work. I tried to insert short edges at intersections that are an issue, but this doesn't solve the problem either.
So next step is to compute everything 'virtually' (storing the inner edges (not as Sketchup::Edge)) in an array and drawing all edges at the end of the process.
I wonder why the API works OK at the top level of the model but doesn't do the same job in a group or component context...