Good day! Thank you in advance for any assistance you can provide. I've created several extensions or codes with the help of ChatGPT and integrated them into my SketchUp program using the Lord of the Toolbars plugin. Following its tutorial, I've created my customized toolbar with my own codes. However, I'd like to export this customized toolbar so it can be installed on other computers, essentially allowing others to download it as a plugin. I understand it needs to be an RBZ file. How can I make this possible? Can I do it with the Lord of the Toolbars tool, or is there another procedure? Perhaps you could create a tutorial on this. Thanks. 🙏
really strange that i have tried to paste the ruby code identical to the ones you showed on tutorial 0:34 onto built in ruby console but my 2021 sketchup pro just cannot generate the same output as yours, pls explain and tks a lot (attached is the code i copy from you: def reverse_selected_entities (entities) entities.each do |entity| case entity when Sketchup::Face entity.reverse! when Sketchup::Group, Sketchup::ComponentInstance reverse_selected_entities (entity.entities) end end end model = Sketchup.active_model selection = model.selection model.start_operation ('Reverse Selection', true) reverse_selected_entities (selection) model.commit_operation
Bro, there are a few syntax errors and mistakes in your code. - You merged the first and second lines and added an extra space before the parentheses in (entities). That space should be removed. - You split the line after Group, but it should be a single line (see the 6th line in the video). - There are some more extra spaces before the parentheses. By the way, instead of trying to copy from the video, you can just ask AI to write the code or even paste your incorrect code into the prompt and ask it to fix it or highlight your mistakes. 😉😎 You'll definitely get a working code.
SketchUp Ruby is a shared code space. Snippets should not be defining variables nor methods in the top level ObjectSpace! ChatGPT is not smart enough to know this so you must tell it so. All plugin code needs to be within a namespace module unique to the Author/Company and each plugin/extension/snippet should probably be separated from each other in their own submodule.
Unbelievable content 💐
wow awesome !!
put us more videos about this SketchUp Ruby script and thank you very much for your videos we are a fan of your channel
Good!
부지런하신 안센님 👍 정말 멋있으셔요!!
@@jo_dae_ri 앗 안녕하세요 ㅋㅋ
just amazing !!!
Please can you share used prompts or Ruby codes?😁
Good day! Thank you in advance for any assistance you can provide. I've created several extensions or codes with the help of ChatGPT and integrated them into my SketchUp program using the Lord of the Toolbars plugin. Following its tutorial, I've created my customized toolbar with my own codes. However, I'd like to export this customized toolbar so it can be installed on other computers, essentially allowing others to download it as a plugin. I understand it needs to be an RBZ file. How can I make this possible? Can I do it with the Lord of the Toolbars tool, or is there another procedure? Perhaps you could create a tutorial on this. Thanks. 🙏
WOW You save my life =P
루비를 만드는 건가요? 보고 있지만 믿기지를 않내요,,,
Subd 루비나 artisan 루비등을 만드는 과정도 보고 싶어요
AWESOME!
really strange that i have tried to paste the ruby code identical to the ones you showed on tutorial 0:34 onto built in ruby console but my 2021 sketchup pro just cannot generate the same output as yours, pls explain and tks a lot (attached is the code i copy from you:
def reverse_selected_entities (entities) entities.each do |entity|
case entity
when Sketchup::Face
entity.reverse!
when Sketchup::Group,
Sketchup::ComponentInstance
reverse_selected_entities (entity.entities)
end
end
end
model = Sketchup.active_model
selection = model.selection
model.start_operation ('Reverse Selection', true)
reverse_selected_entities (selection)
model.commit_operation
Bro, there are a few syntax errors and mistakes in your code.
- You merged the first and second lines and added an extra space before the parentheses in (entities). That space should be removed.
- You split the line after Group, but it should be a single line (see the 6th line in the video).
- There are some more extra spaces before the parentheses.
By the way, instead of trying to copy from the video, you can just ask AI to write the code or even paste your incorrect code into the prompt and ask it to fix it or highlight your mistakes. 😉😎 You'll definitely get a working code.
incroyable
...ein sehr gutes Video, Danke! (exakt was ich suchte jedoch nicht suchen musste da ich Deinen Kanal ja abonniert habe 😉)
bello e quasi perfetto.👍
SketchUp Ruby is a shared code space. Snippets should not be defining variables nor methods in the top level ObjectSpace! ChatGPT is not smart enough to know this so you must tell it so. All plugin code needs to be within a namespace module unique to the Author/Company and each plugin/extension/snippet should probably be separated from each other in their own submodule.
❤
Wow
If you can share the scriot would be a nice gift to your followera, thank you anyways