[Plugin] FloorGenerator ( Updated 6-Apr-2017)
-
I've been having trouble creating wood boards on tiny spaces.
Neither the wood, brick or grid work on spaces with dimensions smaller than the size assinged to wood board/brick/tile.
I've got big floors where the plugin works flawlessly, but I also got smaller areas on stairs and windows or other such spaces where I want a board to run from side to side and there's no way to make it happen.
The maximum length I can input is always considerably smaller than the maximum floor face length and I get joints where I don't want them...
The question is that I got addicted to the results the plugin creates so what can I do in this case?
Would it be hard to create a pattern wich creates only rows or columns (90ΒΊ rotated rows) without any subdivision in the middle of the row/column? It would still be good to have all other parameters from gap and depth to bevel and random texture or imperfections that brick, wood, or tiles have.
-
@jql said:
I've been having trouble creating wood boards on tiny spaces.
Neither the wood, brick or grid work on spaces with dimensions smaller than the size assinged to wood board/brick/tile.
I've got big floors where the plugin works flawlessly, but I also got smaller areas on stairs and windows or other such spaces where I want a board to run from side to side and there's no way to make it happen.
The maximum length I can input is always considerably smaller than the maximum floor face length and I get joints where I don't want them...
[attachment=0:3vf6v0ye]<!-- ia0 -->floor generator.jpg<!-- ia0 -->[/attachment:3vf6v0ye]
The question is that I got addicted to the results the plugin creates so what can I do in this case?
Would it be hard to create a pattern wich creates only rows or columns (90ΒΊ rotated rows) without any subdivision in the middle of the row/column? It would still be good to have all other parameters from gap and depth to bevel and random texture or imperfections that brick, wood, or tiles have.
Find the following line in the plugin
if (face.bounds.diagonal >= dmax*1.5); # make sure the rectangle is big enough to sub-divide
and replace it with
if (face.bounds.diagonal >= dmax); # make sure the rectangle is big enough to sub-divide
and use the Tile option.
-
Wow! Thanks!
-
Hi Sam,
I changed it but it only worked if I multiplied it with "0". Does this make sense to you?
if (face.bounds.diagonal >= dmax*0); # make sure the rectangle is big enough to sub-divide
Anyway thanks again... it's working perfectly now!
-
@jql said:
Hi Sam,
I changed it but it only worked if I multiplied it with "0". Does this make sense to you?
if (face.bounds.diagonal >= dmax*0); # make sure the rectangle is big enough to sub-divide
Anyway thanks again... it's working perfectly now!
By multiplying by 0 you have eliminated the test totally as the face diagonal will always be greater than 0. It should have worked as it was as long as you didn't enter a length that was longer than the face diagonal. Maybe that wasn't efficient because the size of the faces picked was constantly changing.
-
Do you think I'm runining something in the long run if I keep it like this?
-
@jql said:
Do you think I'm runining something in the long run if I keep it like this?
No, I don't thing it should hurt anything but, if the pattern is bigger than the face, nothing is going to happen.
-
I just tested it. If it's bigger than the face it just bevels the face and creates the set gaps to the border edges... Pretty cool if you ask me...
All these tests made me want a new request but maybe I'm pushing my luck too far!
Here goes nothing:
When we set a gap depth floor generator creates all it's coolness but it raises the floor area as much as the gap depth. It also removes the material from the original face and renders it with default material.
1 - Would I be completely annoying if I'd request the floor top to match the level of the chosen face?
2 - And what if the new face would receive the same material it had before Floor generation, or one of the materials currently being applied (random from folder or current).
3 - Could it also be possible if the face material would be selecteable as the texture being applied? It could work as "current material" does right now...Now I'm going back to my hole...
-
@jql said:
I just tested it. If it's bigger than the face it just bevels the face and creates the set gaps to the border edges... Pretty cool if you ask me...
All these tests made me want a new request but maybe I'm pushing my luck too far!
Here goes nothing:
When we set a gap depth floor generator creates all it's coolness but it raises the floor area as much as the gap depth. It also removes the material from the original face and renders it with default material.
1 - Would I be completely annoying if I'd request the floor top to match the level of the chosen face?
Yes but easily doable
2 - And what if the new face would receive the same material it had before Floor generation, or one of the materials currently being applied (random from folder or current).
Also easily doable. Since all faces on the XY plane are created front down, I would assume the back_material is to be used.
3 - Could it also be possible if the face material would be selecteable as the texture being applied? It could work as "current material" does right now...
The soon to be released FINAL version, Random Texture source can be a folder or the model. You can choose one or several to be applied randomly.
Now I'm going back to my hole...
-
@sdmitch said:
@jql said:
2 - And what if the new face would receive the same material it had before Floor generation, or one of the materials currently being applied (random from folder or current).
Also easily doable. Since all faces on the XY plane are created front down, I would assume the back_material is to be used.
It's true sketchup does that (why it does it, it's another story) but most users reverse that face to be facing the side they need.
I believe that would be the case if you'd apply a floor on top of a slab. Probably the slab would be something that came out of a push pull if it would be like that, this "thick" slab would have the front face on top and the material would be applied on the front face.
I also believe most users using these detailed floors created by Floor generator, are already advanced users and most of us are using it for render purposes. Those kind of users usually don't apply materials to backfaces because of all the troubles that can lead to (rendering, SU solids, etc...)
-
@sdmitch said:
- A new option, 'Create Below Face', moves the created pattern down so that the top of the pattern is at the level of the original face picked. If you are curious as to why ask JQL.
Well I use Floor generator at the end of my projects, until then the face where it's being applied to is the face that represents the floor level. This option allows for maintaining that level. I hope this makes sense...
@sdmitch said:
I have posted the FINAL version of FloorGenerator. Sorry but no more changes and/or additions.
One more word just to thank you for this wonderful plugin... I understand it's popularity can cause you headaches, but it just seems FINAL is so definitive and it makes me feel a bit sad!
-
from me too
however i have seen that you have remove the feature, that all Bricks etc in own groups.
i would wish me you could insert an option to choose the feature on or off. i mean bricks in own group or not. this would be wonderful.bricks (etc) in own groups is good for animation or sketchup physics.
-
Everyone can heip me undertant about them.
-
-
@deaneau said:
from me too
however i have seen that you have remove the feature, that all Bricks etc in own groups.
i would wish me you could insert an option to choose the feature on or off. i mean bricks in own group or not. this would be wonderful.bricks (etc) in own groups is good for animation or sketchup physics.
That was a special version that I created just for you. It was never posted or given to anyone else. I will PM you a 'group' version when I have it.
Anyone else want individual groups?
-
@unknownuser said:
Anyone else want individual groups?
Why not, after I will forget!
Maybe that will funny with Explode view! -
@ sdmitch
@pilou you tell what i think
-
Let's blow up some SP bricks!
-
sdmitch,
Awesome and a big thank you for sharing.
-
@sdmitch said:
Anyone else want individual groups?
It would be a great feature if one could chose to use components and it would create components from the different tile sizes and/or textures and use them to build the floor/wall.
I still want to be able to do it the way it is now too.
Advertisement