@August said in Turtle Graphics for Sketchup:
Turtle Graphics
You would need to piggy back on the API to have implicit commands similar to Turtle-type behaviour.
In SketchUp you can use [#,#,#] to infer the [x,y,z] location in 3D space to place an object or point. But in all instances it requires user input to pick the tool and/or the first point.
I know of nothing that allow you to draw in the manner you need.
You could try @alexschreyer OpenAI extension: https://sketchucation.com/plugin/2643-as_openaiexplorer
Or @samuel_t Parametric Modelling extension: https://sketchucation.com/plugin/2387-parametric_modeling
Both have that type of capability of command based drawing. I like the latter for parametric block out.
You could use the Ruby Console to draw in the same way as you could use a chainsaw to trim your fingernails.
Try asking Claude.ai for ideas to get you a primitive example you could build on.
You've poor organisation going on in your model that you're fighting against. With some tidy up you can get it to open/close.
doors3[rob].skp
In the attached example I ditched the second door to stop my brain melting from the nested 'Group' naming.
See if this works for you in 2017
Can you share it here so we can troubleshoot it on file?
Draw a square on world co. 0,0,0 (100;100 in) and when you use Zoom Extents do you still see the square, if not the obj is far away from world co. 0,0,0. -- This would be my guess.
Transmutr is free for 7 days so try it to see if this solves your problem.
https://lindale.io/transmutr
@katsia
Your post doesn't explain everything exactly.
Why did you disable anything ?
An installation of a newer version is sufficient.
To use this tool you need the latest version of it installed - you say you've done that...
You also need the latest version of the SketchUcation toolset installed for any licensing - you say you have done that...
You must also have the latest version of LibFredo6 installed - you have not confirm doing that.
After installing these files you must restart SketchUp to sync everything.
If you have done that, then what appears in the Extensions Manager dialog ?
What appears in the Tools menu submenus, and Toolbars for that extension ?
@alvis
If you set z_min and z_max to the correct points it'll work.
Currently you are specifying them wrongly,
to the bb's 0 corner [z min] and 4 corner [z max]
Instead do something like this to set them to the y_max point
z_min: bounding_box.corner(3).transform(transformation.inverse)
and the corner point above it
z_max: bounding_box.corner(7).transform(transformation.inverse)
@Adept-Design
Please run the Window > Libfredo Settings > Fredo6 Plugins Information for Sketchucation Support menu command in SketchUp and copy/paste the output into your reply.
@Adept-Design
Have you installed the newest versions of Fredo's extensions and LibFredo6, and the SketchUcation toolset [for the licensing] ?
Install extensions using the SketchUcation ExtensionStore³ system or download the RBZs from our PluginStore and use the native installer, through the Extensions Manager...
Restart SketchUp after the installations to sync everything.
There should be submenus under Tools for Fredo's extensions, including license activation etc.
There are also menu items and Toolbars to use these tools etc...
@Box Thank you sir! I finally got things working correctly and was able to "play around" a little. The image below represents what I figured out using the FredoScale tools. I greatly appreciate your help.
[image: 1728147597308-fredoscalesample.png]
@wgriffith
I've never heard of this before.
What's your OS ?
Do you have the latest version installed ?
If it fails to appear in the Extensions menu / toolbars can you please check if the file SketchUcation.rb and its subfolder are still in your Plugins folder...
If it is there try this...
Open the Ruby Console [under Extensions > Developers Tools] and type or copy/paste this in + return
load 'SketchUcation.rb'
What happens ?
Do you have similar issues with any other extensions ?
@mrwick https://downloads.sketchucation.com/licensing/SCFLicense-Instructions_to_Users.pdf
Licenses are at https://sketchucation.com/webshop/my-licences.php
You need latest releases of all extensions installed including Sketchucation Tools
https://sketchucation.com/plugin/696-sketchucationtools
...and Libfredo
https://sketchucation.com/pluginstore?pln=LibFredo6
@ntxdave OK, I adjusted the items you pointed out. And I should have mentioned before that the material was Disney Metalic. However, I made some adjustments:
Dialed back the metal
Increased the roughness
Dialed back the IOR
Hope you find this on to be improved.
[image: 1727289750598-revised-bently-model.png]