I want to rotate a dynamic component about a components own axis which the Z is sloping compared to the main Z axis. When I try this (RotZ etc), the component rotates about the components Z axis point, but rotates about the main Z axis. What am I doing wrong?
Posts made by Deanby7
-
Dynamic component rotation
-
IPad sketchup viewer with interact?
Are there any iOS apps which can view sketchup files and "interact" with the model ie click to open and close door component as we do in Sketchup with the Interact tool?
-
Reduce model complexity
I have a sofa model that has been created in Fusion (converted to .skp) it contains millions of triangle faces to describe the curvy cushion shapes. Is there a way in Sketchup (or a free plugin) that will reduce the face count whilst retaining most of the shape?
-
RE: Component inserts at origin automatically
This was driving me nuts! This forum never let's me down!! : )
Many thanks TIG -
Component inserts at origin automatically
With some of my components (that I have previously made), when I click on a component in the component browser, the component appears at the origin straightaway, and not attached to my cursor for placement! Also, I cannot select this component and then edit the properties such as cutting plane etc (using the edit tab in the browser).
Anyone have any what is going on? -
RE: Staircase builder - strange scaling behaviour - Help!
Thanks for input. I've decided to rewrite the code as the tread "goings" get distorted a bit when scaling the staircase. I should've realised using the transformation scaling was too easy a solution!!
-
Staircase builder - strange scaling behaviour - Help!
I'm trying to debug my staircase builder. When constructing a staircase with winders I've opted to apply a transformation scaling on the whole staircase group in the XY plane to size the staircase to the user input stair width. This produces unexpected scaling results with some elements scaling too little and others too much! I apply the same technique to change to righthand staircase. The script builds a lefthand staircase and the transformation changes it to a righthand one. This works fine!
I've looked at this for a few days now and can't see how to put this right.
Stairbug.gif illustrates the problem.
stairhand.gif illustrates a build of a righthand staircase with success.The script is attached, if anyone fancies a challenge!
Here's hoping!!!
-
RE: Architectural plugins
Here are the plugins mentioned above. Again, thanks to sdmitch, TIG, Dan Rathbun and others for help with these.
-
RE: Architectural plugins
My plugins have been tested and work with SketchUp 2016.
-
RE: Architectural plugins
The wall opening plugins do work with SU2016. They provide a way of inserting any door or window component so long as they are rectangular!
-
RE: Architectural plugins
A video of the internal wall opener/door frame maker plugin:-
-
RE: Architectural plugins
Here is a video of the staircase builder......
-
Architectural plugins
With the help of some forum members here, I have written some plugins for architectural modelling, namely:-
External wall opener - after placing window/door component on a wall, plugin creates reveals and moves window/door component into the wall.
Internal wall opener - after placing door component on a wall, plugin creates a frame and architrave and moves door into frame.
Staircase builder - creates staircase steps/risers/stringers from user parameters such as floor to floor height, stair width, number of steps in each flight (max 3), turn type (ie landing or winders). This is useful for trying out various staircase configurations. The stringers are a bit naff, and there are no balustrades etc.
I've had fun writing these, and I find them handy, but wondered if they might be useful to anyone here.
I'm happy to share these, and if anyone wants to improve them, I'd be happy receive comments/suggestions. They seem to work ok for me on SU8.
Let me know if anyone is interested.
-
RE: Architectural layer name conventions
The Sonder 'scenes'/'Layer' trick is very useful. I wonder if there are any other little gems like this that are hidden/undocumented?
-
Minimum dimension of a component
I'm trying to ascertain the smallest edge at the origin of a component. I think I'm nearly there but something's not right in the code below! Any suggestions would be appreciated : )
sel.grep(Sketchup::ComponentInstance){|cdi| org = cdi.transformation.origin cents = cdi.definition.entities vert = [0] cents.grep(Sketchup::Vertex).each{|v| vert << v if v == org } thickness = vert.edges.min p thickness }
-
RE: Component axes, glueing and animating
Ah yes. I had noticed that behaviour of nested components, but couldn't understand why when I applied the dynamic component attributes it worked as expected, but not when I unnested it!!
I am writing a ruby script to create a wall opening and add architrave for a door component glued to a wall group. I will now see if I can nest the door component in the opening/architrave group. Actually I will need to make this a component won't I?
Thanks for the heads up on nesting/axes behaviour JQL.