Thanks I only make furniture and seldom add texture. My dell is dying it only runs 2016 so I’m sure to ok if the last version of make runs
Posts
-
RE: Video card to run sketchup
-
Video card to run sketchup
Will a portable with a nvidia GeForce rtx3050 graphic card run sketchup
I need a new computerKeith
-
RE: I need some help
I sent a pm and also ansered on you tube. Or ask here I check to see if I think it canbe done
Keith
-
RE: Help K2WS_Tools
I have not looked at the forum for while so I just saw your question. Are you wanting to make the detail in both parts at the same time? That would be a difficult program.
You could use the dowel tool to make the thru hole for the bolt in both parts by making the hole in part2 a thru hole and using dowel data to get the proper dept in part 1. The cross hole would be a problem for my program an programing skills as it requires a intersection. You would need to draw a cylinder and use solid substract tool to create that detail. Booltools2 is a free plugin that would do that.
-
RE: Edit: Create 3d objects with a single rectangle drag
Search for wudworx the board maker is free and makes a board component after dragging a rectangle and entering thickness value. Download the zip file and change the file extension zip to rbz and the file will install with the install extension feature. works on 2016 which is as far I can test.
-
RE: Edit: Create 3d objects with a single rectangle drag
Been woxrking on that. Sent a pm
Keith
-
RE: Combining components into 1 component
Thanks Mitch your code worked very well once I figured out the transformation I needed. The code also left the component entities on Layer0 which was a problem for my code.
The forum is an amazing source of info thanks to the many people who are willing to share their knowledge.
Keith
-
RE: Combining components into 1 component
I will try Mitch's code. Question there are 2 constantans I am not familiar with in your code. SKETCHUP_CONSOLE.clear and IDENTITY.
The problem with my version is that the entities that make up the final are on the Components layer not layer0. In the code I thought I was moving them back to layer0 but it didn't work and it didn't flag an error.
@sss.clear ents = [] @entities.each { |e| ents << e if (e.layer.name == @assy_Name) && ( ! e.is_a?(Sketchup;;Group) && ! e.is_a?(Sketchup;;ComponentInstance) )} ents.each { |e| e.layer.name = "Layer0" } @ss.add(ents) copedRail = @entities.add_group(@ss) @ss.clear; @ss.add copedRail copedRail.layer = @assy_Name
Thanks
Keith -
RE: Combining components into 1 component
I worked on this some more and found a Solution.
Created a new layer
added each comp to that layer
exploded each comp
cleared selection
added all entities on the layer to the selection
added selection to new group
cleared selection
added group to selection
I could now make the group a solid I did not need a component at this point. -
Combining components into 1 component
I am bringing 3 parts (components) which are placed such that if all 3 are exploded and then all selected and made a single component. I have not been able to accomplish this with the API. Any suggestions
Keith
-
RE: Test plugins developed to help Woodworkers
Currently the tools plugin details most wood working joints on components drawn and placed in the assembled position. Dovetails, Box Joints, Dowel, Mortise & Tenon, Loose Tenon, Domino, Biscuit, and Clearance holes for screws.
The Open_Close lets you add a vector outside a door or drawer and then will rotate the door or move the drawer to open and close.
The Component2LayerScene provides Layer control for parts and scenes of a part or parts for Shop Drawings. With rev4 when you add dim to the drawing scene the drawing layer is automatically assigned to the dim.
Furniture parts which I have only started will make complete assembles. So far I have Stile and Rail flat panels working with several different joints. This is not ready for publication yet. Plans are for Cope and Stick joints, Raised panel, drawer boxes, Post and Rail.
-
Test plugins developed to help Woodworkers
I am a retired engineer that has been building furniture for family and others as a hobby since 1997. I switched to Sketchup for shop drawings when it first became available for free for hobby use. I had written programs for use with 2D cad at work so it was natural to learn Ruby and make some plugins for myself as I used sketchup. I only use sketchup when I am working on a project that I plan to build so I am not fluent or quick in using it and I appreciate automating some repetitive tasks. Ver 15 is the last version my computer will run so I am looking for 1 or more people interested in testing my plugins in the latest version of Sketchup (2017 Make and/or 2018 Pro). I usually program more in the summer and I am planning to combine my current 3 plugins under 1 program the K2WS_Tools and I have been working on a program to make some furniture parts also. It would require you to test the plugins and using the Ruby Console that comes with Sketchup to report problems.
I always have more ideas than I am able to develop as plugins as my programing skills are still limited. I have had a lot of help from the developers that are on this forum.
If you are conformable using sketchup for furniture, using Ver 2017 or 2018, installing plugins, deleting plugin files from the plugin directory and willing to invest some time to help me send me private message so we can do this directly not thru the forum.
Keith Krueger
-
RE: Deleting Component Definition
Thanks Dan for the explaination. I had tried other terms than clear that was just the last version. I will let the user take care of deleting the old panel def if they need to remake the same panel. The neW panel will automatcaly get the new #diget Sketchup adds to components with the same name. Now I know why I couldnt delete def. Never saw the purge unused.
THANKS AGAIN ans. with exp are very helpful.
Keith -
Deleting Component Definition
I have not been able to delete a component definition
flatPanel = ent.add_group fp_face = flatPanel.entities.add_face (@pt) fp_face.pushpull(-fp_T) component_instance = flatPanel.to_component component_instance.definition.name = ("FlatPanel") component_instance.layer = "NewPanel" def_Panel = component_instance.definition UI.messagebox("Panel Definition Name " + def_Panel.to_s + "component_instance " + component_instance.to_s ) component_instance.erase! def_Panel.clear!
I create this panel and can delete the instance but the cannot delete the definition. The message box shows values for both the instance and definition. Run fails with error " Cannot determine parent of entity" When I comment out the last line the code runs and deletes the component instance.
Keith
-
RE: SketchUp 2018
Deleting new versions of make probly saved me $1000 as I was looking at up dating my computer as reqired to run 2017 and beyound. I will use 2015 ( never got comfortable with the newer UI) for my woodshop hoby. As I created some plugins and several others. I would urge all users that want to continue with make version to dowload and save the install files some where safe for future use if nrecessary.
-
[Plugin] K2WS_Open_Close
This Plug in Adds one click open and close action to doors and/or drawers for models made with SU Make.
Simple motion parameters are entered for a component or group before the tool will produce the open and close effect.The commands are found at Menu Tools > K2WSOpenClose or K2WSOpenClose ToolBar
For Door open/close (Rotation)
First you need to draw a hinge line (outside of your Door Part) Rotation follows the Right Hand Rule. Line in direction thumb rotation in directio fingers curle.
Right Hinged Door draw line bottom to top (longer than door for easy selection) thru the hinge pivot. Left Hinged Door draw line top to bottom (longer than door for easy selection) thru the hinge pivot.
Now you can select the Part and the Hinge Line go Tools > K2WS_OpenClose > AddDictValues and enter parameters.
After this is completed select Tools > K2WSOpenClose > OpenClose to start tool.
Now each time the Part is selected it will Open or Close. To Quit Open_Close Tool select a different Sketchup Tool.
For Drawer Open Close (Translation )
First draw a line outside the Part with the line drawn in the direction of Drawer Opening and length = distance.
Now you can select the Part and the Line go Tools > K2WS_OpenClose > AddDictValues and enter parameters
After this is completed select Tools > K2WSOpenClose > OpenClose to start tool.
Now each time the Part is selected it will Open or Close. To Quit Open_Close Tool select a different Sketchup Tool.
[url]This Plug in Adds one click open and close action to doors and/or drawers for models made with SU Make.Simple motion parameters are entered for a component or group before the tool will produce the open and close effect.
The commands are found at Menu Tools > K2WSOpenClose or K2WSOpenClose ToolBar
For Door open/close (Rotation)
First you need to draw a hinge line (outside of your Door Part) Rotation follows the Right Hand Rule. Line in direction thumb rotation in directio fingers curle.
Right Hinged Door draw line bottom to top (longer than door for easy selection) thru the hinge pivot. Left Hinged Door draw line top to bottom (longer than door for easy selection) thru the hinge pivot.
Now you can select the Part and the Hinge Line go Tools > K2WS_OpenClose > AddDictValues and enter parameters.
After this is completed select Tools > K2WSOpenClose > OpenClose to start tool.
Now each time the Part is selected it will Open or Close. To Quit Open_Close Tool select a different Sketchup Tool.
For Drawer Open Close (Translation )
First draw a line outside the Part with the line drawn in the direction of Drawer Opening and length = distance.
Now you can select the Part and the Line go Tools > K2WS_OpenClose > AddDictValues and enter parameters
After this is completed select Tools > K2WSOpenClose > OpenClose to start tool.
Now each time the Part is selected it will Open or Close. To Quit Open_Close Tool select a different Sketchup Tool.
-
RE: Activate last selection
I am not an accomplished coder but it seem to me that if you think the user is going to need access to the sel save it as an array at the first then it can be reused.
Keith
-
RE: First plugin published by warehouse
It already is available here. I am making some more changes before updating it here.
Keith
-
First plugin published by warehouse
My K2WS Joint Tools that has been available here for a few years has been published. That has only been accomplished with the help of the contributers to this forum. Thanks for your help. Any time I was stalled the members listened and provided help. I started as new commer to Sketchup and zero experience in ruby (some ms visual basic).
Thanks for all the advice.
Keith -
RE: Trying to set global axis from API
Thanks for the comments. This looks like a much more involved solution than my problem is worth. I think I will just stay with the requirement that component joint face needs to hahe 2 edges, common vertex and intersect at 90 degrees to work with my joint tool plugin. I was thinking of a plugin that would add a rectangular face on the existing face to be used for joint detail then deleted when finished. This worked for parts aligmed to the globel axis but not with rotated parts.
Keith