Hi, I know this is and old post, but could this be done keeping the orientation?
Posts made by Guillo_Ortiz
-
RE: Assign materials to both sides?
-
Reorient several group axes
**Hello:
This is a repost from a topic I posted on the official Sketchup forum page (https://goo.gl/BTAECy), but I'm posting it here as well to get more exposure.
I created a set of tubes with the lines to tubes extension and each individual tube has its axes oriented to the global axes (as expected).
I want to replace all the tubes with a component.
Is there a way (or plugin) to reorient the axes along the longest edge of each tube to simplify the process? Maybe another plugin that creates the tubes the way I need them?
I could quickly do it one by one but there are too many…
Take a look:
This is what one of the tubes looks like
And these are all the tubes I need to fix (2892!)
I’ll appreciate any help.**
-
RE: Create lego-like solid pieces for assembly
@jql said:
That won't have a very firm grip as it will twist upon the joint's axis. You should have at least 2 pins per joint... It also seems very prone to detach from each other. Maybe you now should model from what Mitch gave you.
Thanks, I will. I'm also going to use super glue to reinforce it.
-
RE: Create lego-like solid pieces for assembly
@sdmitch said:
@guillo_ortiz said:
BTW, how can I change the units to cm? I tried writing "cm" and " cm" after the number, but got an error.
The syntax is ".cm", so 1.inch = 2.54.cm
Thanks, sdmitch. In the end I used your method.
Thanks a lot!
-
RE: Create lego-like solid pieces for assembly
@sdmitch said:
@guillo_ortiz said:
Hi!
I'm attempting to make a split model for 3d printing and I'd like it to have joints to get a firm grip when assembled (like a lego).
This is what I have:
Does anyone know of a plugin or a way to get this done?
Thanks!
Here is a start. You will need to change the values to suit your situation.
unless file_loaded?((__FILE__)) > UI.add_context_menu_handler do |menu| > sel = Sketchup.active_model.selection > if sel.first.is_a?(Sketchup;;Face) > menu.add_separator > menu.add_item('Dimple') { > face = sel.first; ctr = face.bounds.center; nrm = face.normal > cir = Sketchup.active_model.active_entities.add_circle(ctr,nrm,0.125,12) > pts = cir.map{|e|e.vertices}.flatten.uniq.map{|v|v.position} > fac = Sketchup.active_model.active_entities.add_face(pts) > fac.pushpull -0.25 if fac > } > menu.add_item('Pimple') { > face = sel.first; ctr = face.bounds.center; nrm = face.normal > cir = Sketchup.active_model.active_entities.add_circle(ctr,nrm,0.125,12) > pts = cir.map{|e|e.vertices}.flatten.uniq.map{|v|v.position} > fac = Sketchup.active_model.active_entities.add_face(pts) > fac.pushpull 0.25 if fac > } > end > end > file_loaded((__FILE__)) > end >
Thanks for the plugin! It's very close to the effect I'm looking for. BTW, how can I change the units to cm? I tried writing "cm" and " cm" after the number, but got an error.
-
Create lego-like solid pieces for assembly
Hi!
I'm attempting to make a split model for 3d printing and I'd like it to have joints to get a firm grip when assembled (like a lego).
This is what I have:
Does anyone know of a plugin or a way to get this done?
Thanks!
-
Move to origin option
Hi!
I created a template with some colours and settings I like but I didn't notice I changed the axes at some point. So now when I export my model to any other program, the origin is off.I know I cold open a new file with the correct origin and copy/paste-in-place to get the axes back to normal, but is there a way to automatically move an object based on coordinades (i.e. start the move tool and type something like "[0,0,0]")?
Here's a screenshot of my situation (left is my custom template and right is the default one):
Thanks in advance!