[Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012
-
Hi rv1974! Thanks for your suggestions.
-
Could you explain a little more, please? I have a feeling I know what you mean, but just to be sure.
-
It is on the todolist. But remember that gluebehavior must be calculated as well. So it might not be as easy as it seams. Alignment might be difficult if components are side by side. Because code will probably have to perform 1 hatch at a time.
There is also an issue regarding performance too. When doing linehatching this wont be much of a concern, but when having complex patterns intersecting will take longer time to calculate. If you then have many faces to perform, SU might freeze.
BUT! Most things can be solved, they just have to be worth it and practical.
3)That should already be working?? I have the second inputdialog set up to always return negative value of 1st parameters. It's more practical like that than just remember values from last performed hatch? I can change that if desired...But I would need more than 1 vote before changing anything unless it's an obvious thing.
4)Well. I don't know if you noticed, but I'm working on webdialog for next version, so..
There will be only 1 dialog.http://sketchucation.com/forums/viewtopic.php?f=323&t=38637&start=300
-
-
This plugin made my day -- no more struggling with hatch materials -- especially when exporting to CAD or vector programs. It also comes out much clearer in jpg exports. Can't wait to try it out on my next floor plan.
Thanks!
-
@jolran said:
Hi rv1974! Thanks for your suggestions.
-
Could you explain a little more, please? I have a feeling I know what you mean, but just to be sure.
-
It is on the todolist. But remember that gluebehavior must be calculated as well. So it might not be as easy as it seams. Alignment might be difficult if components are side by side. Because code will probably have to perform 1 hatch at a time.
There is also an issue regarding performance too. When doing linehatching this wont be much of a concern, but when having complex patterns intersecting will take longer time to calculate. If you then have many faces to perform, SU might freeze.
BUT! Most things can be solved, they just have to be worth it and practical.
3)That should already be working?? I have the second inputdialog set up to always return negative value of 1st parameters. It's more practical like that than just remember values from last performed hatch? I can change that if desired...But I would need more than 1 vote before changing anything unless it's an obvious thing.
4)Well. I don't know if you noticed, but I'm working on webdialog for next version, so..
There will be only 1 dialog.http://sketchucation.com/forums/viewtopic.php?f=323&t=38637&start=300
- Say we have double hatching. It'd be great to precisely point the location of the vertical and horizontal hatching lines crossing (for example, by preselecting the face(s ) and construction point. It was implemented in the TIG's extrusion tools)
N.B. It'd be fantastic to (by default) get the resulted hatching aligned to the current UCS, including origin point. Simply and user friendly!
And the most important: thank you replying and sharing!
-
-
HeliosLabs, thanks
@unknownuser said:
It'd be fantastic to (by default) get the resulted hatching aligned to the current UCS, including origin point. Simply and user friendly!
UCS(user-coordinate-system) will in this case be the face bounds, right?
The Origin for hatches currently is center of face bounds.
What I have already on the "TODO list" is to be able to translate Origin(center) by different methods.
Perhaps by edge selection(point is edge start or end) or automatic with distance user-input from dialog. Under investigation..@unknownuser said:
- Say we have double hatching. It'd be great to precisely point the location of the vertical and horizontal hatching lines crossing (for example, by preselecting the face(s ) and construction point. It was implemented in the TIG's extrusion tools)
Are you still talking about Origin or spacing between lines?
Anyway, when there will be component-patterns available, one could create taylormade linepatterns to fit the needs. Scaling could have an undesirable effect though..I will still have a look at TIG's tools. Although, I do not plan to turn this plugin into a tool with pickpoints.
@unknownuser said:
And the most important: thank you replying and sharing!
Thank YOU for feedback and suggestions
-
in short I mean this:
hatching would 'begin' at currentUCS origin point and would adopt its XY axes.
I'd agree with you- messing with Cpoints would complicate everything, UCS approach is way simpler.
-
Ahh, now I see what you mean. I understand what you are after, but I do not think this would
be the best approach.Is that a group your inside or is it SU-ORIGIN axes we are seing?
If SU-ORIGIN, what if your face is somewhere else in the model?
I agree that if perfect values are not needed a pickpoint tool would be the most intuitive way.However how about this? PIC below(In any way, adding pickpointclass will have to wait).
These options might not make it to the next release.
Thanks.
-
Well in plain 'sterile lab' conditions your 'edge rule' would be perfect approach. However in twisted situations (which are more than a half cases) it doesn't work well. May be as compromise you'd just enable additional option 'pick the current UCS'?
-
Ok, forget about edges just for a minute. Thats just a possibility..
If we use the face center as ORIGIN or current UCS if you prefer.
Then provide X and Y offset(on face plane) -> ORIGIN possibilities, that should be sufficient?I can see 1 advantage in your approach using inputpoint with pickhelper.
One can use same origin for multiple faces/hatches, so they get aligned.And back to the edges...
@unknownuser said:
Well in plain 'sterile lab' conditions your 'edge rule' would be perfect approach. However in twisted situations (which are more than a half cases) it doesn't work well
Well not if you want to align the hatches to an particular edge.
In any condition one could just draw an edge on the face(not closing it) so one of the points would end up on the desired UCS. A bit extra job, but..Anyway, I'll have a look at what can be done. Again, I highly doubt there will be any points picking in this plugin, but you never know
Thanks again. Good suggestions Gave me something to think about.
-
Great! Thank you man!
-
Xzoran, thanks..
Sorry no update ready for release yet.
But I thought I show a little what is going on. Putting a lot of hours into this..
Started working a little on surfaces and fell deep down a rabbithole.
3D tiling is far from good yet and VERY alpha-stage, but at least I see some possibilities. I think this could be a good feature in Hatchfaces, to be able to tile 3D geometry onto surfaces.
There is automatic detection of lowest edge, wich determin rotation of patterns.
Shaky, but work most of the time unless strange edgeloops. Square-Quads would be prefered format, but on spherelike objects the faces need to taper so ..
Have a recent fix for that but barely had the time to test properly except for this curvy snake.. 449923 entities. 9 min wich I find barely reasonable.
Performance need to be improved drasticly.It's to bad Sketchup don't have tapered scaling. I hope I'm wrong on that..
I have rethinked certain parts. Trying to avoid intersections and exploding groups there might be a possibility to do some fancy stuff, without having to wait 30 minutes for processing. 2d hatching still would need some part of intersecting and removing geometry though..
Conserning the webdialog I wonder if it is appropriate to have a componentbrowser or not? I mean since there already is one in Sketchup. That part will be an achillesheal when it comes to compability issues between different computers I fear. Although without a browser there will be 1 extra step bringing the component into the model off course.
Thoughts and ideas?
-
Yet another report..
During troubleshooting some stuff I at least got intersecting working for surfaces.
Could be useful for hatching slopes or similar.Note: The size of hatches will be determined by face size, spacing will be calculated according to that.. SO what you see here is a surface based on Quads.
And the surface will have to be grouped for intersection.
One cannot glue a large component onto a surface unfortunately. So that option will probably have to be cancelled..
-
Here is how you use it! Installation: Unzip in your Sketchup plugins dir.
In ver 1.8 edge selection is not needed. Then angle will be calculated from the "bottom bounds-border". However for more control one can still use edge selection.
New for APRIL 29-2013 Sectioncut and HATCHES tutorial
It may not be so self-explanatory in the help files how to use Sectioncuts and Hatchfaces together, so I release this mini-tutorial of 1 way of doing it.
NOTE: TIG's Sectioncutface is the prefered solution to use for creating faces at section
in step 1 of this tutorial.
-
Tutorial added.
http://sketchucation.com/forums/viewtopic.php?f=323&t=38637&p=341462#p341462
Plugin development status: Working on it and some other things in parallel.
edit: Noticed there are some typos, but am not going to change those since I've flattend the original in Photoshop. I think the message comes through in the current text.
-
Hi Jorlan,
I taught you would like to see work of krill2008
https://sites.google.com/site/lssoft2011/home/lss_matrix
this plug in is very help full and i think the closest thing to parametric modeling in sketch up.
You probably know about this plugin, but just in case you missed it. -
Hi.
Thank you very much for the input. Much appreciated..
I already have it in my pluginfolder
I have had a peek at Krill's code for ideas, but it is a VERY big script and it can take quite a bit of work(for me anyway) to get a grasp of what is going on.
Actually in my case I'm avoiding peeking in others script to much since I noticed it
distracts me a little. Unless I'm searching for a specific problemfix.
I feel I have learnt more from experimenting, with my own code.Besides Krills script is copyrighted so, cant borrow anything from there anyway, but I do like to investigate his OpenGL preview a little, for ideas.
Regarding Hatchfaces.
I have code thats almost finished for tiling groups or components with intersecting on a single face. But recent developping has been all working on the node-GUI-editor.
But I sence this plugin will require quite a lot of work so I might take a break from it in the near future and update Hatchfaces as promised.Best regards.
-
Hi,
glad to hear about your progress. I am looking forward to new hatchfaces.
Also I am happy, that you know about krills work. But question is if he knows about yours. Maybe you can join forces or maybe he is working on some parametric modeling on his own.
I would like to here what he has to tell about parametric grasshoper-like modeling in sketch up and i think You even more.kind regards
D. -
Hi.
I'm afraid I don't have any collaboration in plan for that plugin.
Helps, ideas and suggestions are always welcomed though, and I thank you for your
input so far in this matter.Best regards /
Joel. -
Hi,
I have probably missed it, but is there a possibility to make insulation hatches with this plugin?
Brgds
Jesper@jolran said:
Hi.
I'm afraid I don't have any collaboration in plan for that plugin.
Helps, ideas and suggestions are always welcomed though, and I thank you for your
input so far in this matter.Best regards /
Joel. -
@unknownuser said:
I have probably missed it, but is there a possibility to make insulation hatches with this plugin?
Not yet.
But in my developpment version yes. Any pattern you'd like. Hopefully soon for you guys.
Working on another plugin that has higher priority, but that might now change so standby on this.Performance will be much slower than LO on complicated patterns or small scaling=many patterns. That is one of the reasons this plugin has been a little on hold, in case I could figure out a way to solve that.
-
I haven't read all the posts, so maybe this was already answered. I am running SU8 on a Mac. I put the plugin in my plugins folder a required, but can't get it to run. Suggestions? Thx
Advertisement