[Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012
-
@jolran said:
Gridded components you say? Do you mean patterns or using some sort of workplane?
Just 'patterns,' which are in fact component instances which can then all be changed by editing one of them, and in this way a small square with edges hidden be turned into a stripe with edges shown, etc.. Distributing on the grid and trimming to the edges are the keys, as you know. These squares are made up of such gridded components, the whole square being changed by editing it: -->selecting all-->making instances unique-->then changing one.
@unknownuser said:
You will be able to load premade patterns(components) from folders. Where you also can make your own patterns and stuff them in there.
This will be super.@unknownuser said:
Anyway, The way the plugin is working now, is that a face-edges determine the boundarys. That way the user don't have to worry about which plane one is working on. Everything outside the face will be trimmed, including holes. Just like it's working in the current downloadable version.
This is super.I checked out sdmitch's component array plugin, which is very nice but doesn't do the undercover surgery required for neat component hatching.
-
wish someone could figure out DRAW ORDER for sketchup's open gl, it would be perfect for this, so you don't have to cut out everyshape, but just tuck hatches below another. Open GL has draw order, Autocad is 3d and has draw order.
-
Could you elaborate a little bit more, please? Function .
I have a hunch what you are asking for but I don't think it's doable in Ruby with current API for what I know. I could be wrong.
BTW. Sorry ALL, for the delay in developping this plugin and releasing updates. Have been very busy with little or no time left for programming. But will be back on track soon.
-
oh - when faces occupy the same plane, sketchup chooses which will show. In ortho / parallel projection, it will choose one, and when you rotate around it will kind of glitch out and switch between what faces occupy the plane. I found a solution on here to use the glue function to help - but the results were unreliable. I believe draw order control would only be relevant / work in 2d. . I see hatch faces makes actual vector lines, which will always show through on the plane, but if faces use different textures or materials it will present a problem.
This openGL command may be a start - not sure how it plays out in ruby. - Apparently you can set a depthBuffer, as well.
The following call will turn off depth testing causing objects to be drawn in the order created. This will in effect cause objects to draw back to front. glDepthFunc(GL_NEVER); // Ignore depth values (Z) to cause drawing bottom to top Be sure you do not call this; glEnable (GL_DEPTH_TEST); // Enables Depth Testing
-
Ah, see what you mean, Z-fighting.
I plan to have background colors/textures available in combination with edges(vector lines as you call it).So, in my code I use the glue-to face-function. Appears to be working pretty ok for me.
Have you had issues with glue-behavior?Can't give you any feedback on Open GL programming. Way over my head, sorry
-
ya the glue trick was inconsistent for me- every object has be a component right?
-
An Image or an Instance of a Gluing+Cutting Component, when applied directly onto a Face do not "z-flight"...
-
Hi Jolran
I am using these plug for a long time, I believe these is something new, I mean these new screen.. is it already available- these new version of these plug?
-
This plugin looks exactly like something I'm after. I downloaded the 1.6 version from post #1 in this thread, but it only seems to have a very simple crosshatch available and the dialog isn't as well developed as some screenshots I'm seeing in some followup posts. I skimmed through the pages, but did I miss where an updated version with those concrete hatches etc is available?
-
Hi! Sorry for late reply.
At the moment there is only crosshatching with edges. ver 1.6.
The pictures you have seen is probably screen-grabs from developpment.
I just want to assure you I have not abandoned the project. In the future those features will be available, if all goes well.
Thanks.
-
@jolran said:
Hi! Sorry for late reply.
At the moment there is only crosshatching with edges. ver 1.6.
The pictures you have seen is probably screen-grabs from developpment.
I just want to assure you I have not abandoned the project. In the future those features will be available, if all goes well.
Thanks.
Hello jolran,
Great plugin, just what I was looking for. Only one question: Can the menu keep the last input values? (angle, spacing). This would be useful when there are several surfaces to be identically hatched.
For the rest I found no bugs. Surfaces with complex geometries, with holes, spirals Etc, hatched fine. Thanks a lot.
-
Hi Emartingr.
Can the menu keep the last input values? I'm afraid I can't tell you at the moment
(This is a bit embarrassing)I have not done any coding since May and now I feel lost in the world of Ruby, so I'm rehearsing a bit at the moment.
Did not expect to forget a language so fast
rookie mistake..Hopefully be back soon. Haven't given up the idea with an update with better dialogs and stuff. Unless someone else has done a similar plugin since I've been gone.
-
In Version 1.7 http://sketchucation.com/forums/viewtopic.php?f=323&t=38637
The menu should remember the values during sessions. Although not crosshatching. Crosshatching is calculated as a negative from value 1(Angle).
If it seams like a must by request, Remebering 2nd values can of course be done, but I don't think it would be practical.I'm working on the next version with patterns, still lot's to do
I'm doing a comeback in coding, been off for a while..Hope this version will work OK for ya!
-
It's great. Thank you so much, Jolran!
-
Thanks, more coming soon.
-
http://sketchucation.com/forums/viewtopic.php?f=323&t=38637&p=341461#p341461
New version added. Please read the help-file in the draw menu(if it's possible )
It would be nice with feedback if it works on Mac.
Some new stuff, but all is in the helpfile. Might do a tutorial later on, just for fun./Joel
-
Yeiks!! Crosshatching is not working! Will fix that as soon as possible.
edit: Actually it works. But be aware that (until fixed) if you have a negative value in 1st "angle" with crosshatching the crosshatching default value will be negative as well.
So just erase the "-" sign in crosshacthing dialog.Also some geometry is created if cancelling in the crosshatching-menu.
edited again Fixed for next version. Will be added in ver 1.9.
Funny thing, been testing a lot but did miss this obvious thing.
Sorry about that. -
testing v1.8 on osx 10.8. I'm an osx newb. install went fine (maybe if you named the file .rbz a person could use the in-app installer?)
http://support.google.com/sketchup/bin/answer.py?hl=en&answer=38583
It seems to work great! I really think this project deserves to continue! :stamps foot: I was just looking for insulation pattern tool like yesterday. But I like parallel lines too! It's great you have done some research for the other patterns. Any additional vector tricks instead of images are wonderful. I will use the crosshatch feature too.
-
@unknownuser said:
maybe if you named the file .rbz a person could use the in-app installer?)
I'll take a look at it for the next version.
@unknownuser said:
I really think this project deserves to continue!
I'm working on it, mate! I updated the plugin a month ago.
Anyway..
I've ironed out the tiling parts and intersections for Hatchfaces patterns.
But for the moment I'm deep into Javascript.Went for a "Component window" look and feel. What do ya think?
It will recognize new folders, and new components. So you can just create new folders and save the components(in the pluginfolder) and the thumbnails will be updated.
(I'm looking forward bugtracking that part )It looks like a simple dialog, but there are actually quite a lot of events going on. I'm using some sprites for icons, so we will see how it will work on MAC.
Need to do some adjustements to the css and stuff but nearly there with the dialog..After that, port the dialog to Hatchfaces and do some more Ruby adjustments and then maybe after that there can be a new betatest.
teaser...
-
That looks amazing. I think component window is pretty similar on Mac.
My main concern was just to keep some support, not necessarily new features, but that looks very cool.
By the way, if one uses the plugin as a drawing tool, to create a grid for example, is there any way to use that component separate from the face it was created on? I find that deleting the original face does work. Is that allowed? Is there some other way to unglue? If I'm understanding what's happening correctly. Thanks!
Advertisement