Posts made by Matt666
-
RE: [Plugin] Put shadow on current day and hour
Ok, thank you Daniel!
Can you try code updated in the first post, please?@unknownuser said:
Is that work also with the free version who has only a default Days hours location place?
Hi Pilou! I have a free version. So yes, it could works on it! -
[Plugin] Put shadow on current day and hour
Hi all!
I created a mini-plugin that puts shadows on current date and hour. But when I try it, SU "forgets" one hour... I don't know why!
Perhaps it depends of country it is installed and customized...
So: Can you test it, and tell me if SU forgets this hour out of France??? Or can you tell me why?Thank you!
%(#BF0000)[EDIT: Problem solved. Plugin works!
EDIT2: Works well on SU V7 free and Pro. If you use an older version, please Jim's plugin to set your location.]
-
RE: Setting the Date and Time for a Shadows study
Just one thing: To know all parameters of a
shadow_info
entity, you can use.keys
Exemple:Sketchup.active_model.shadow_info.keys
will returns
["City", "Country", "Dark", "DayOfYear", "DaylightSavings", "DisplayNorth", "DisplayOnAllFaces", "DisplayOnGroundPlane", "DisplayShadows", "EdgesCastShadows", "Latitude", "Light", "Longitude", "NorthAngle", "ShadowTime", "ShadowTime_time_t", "SunDirection", "SunRise", "SunRise_time_t", "SunSet", "SunSet_time_t", "TZOffset", "UseSunForAllShading"]
If you want to know one of these parameters, just do like that:
Sketchup.active_model.shadow_info["City"]
-
RE: Tuto : Sketchup comme fond de peinture By Alex Jenyon
Vache... Impressionnant quand même !! Merci Pilou!
-
RE: Très étonnant la poterie!
Comprends pas non plus...
@unknownuser said:
on voit sa fabrication
C'est exactement ça que je ne saurais pas reproduire... Après ok, les entités sont liées à la spirale, et tout bouge suivant l'échelle.Juste un truc... Faut bien se la péter de temps en temps Pour sélectionner la "spirale de construction", c'est po évident. J'ai fait un plugin qui permet de sélectionner rapidement ce genre d'arêtes connectées... Il faut installer le plugin Selection manager cliquer droit sur une des arêtes de la spirale pour sélectionner "Connected edges by angle".
Bien pratique ce pti script (mais très très chaud à programmer !! J'ai eu du mal...)
-
RE: [Plugin] Component/group tools
Sorry for the delay!
Aille... I tested it more deeper, and yes, SU crashes... Sorry. I don't know why.I will investigate.
Thank you for the feedback! -
RE: [Plugin] Remove group materials, leave geometry material
My poor english is the culprit...
Ok, I see... But If you do this :
Sketchup.version.to_i
, it works great! -
RE: Souscriptions
Bon ben Coen ne sait pas non plus... Juste une question : Est-ce quelqu'un d'autre que moi en France utilise les notifications de réponses aux messages ??? Cocher "
Notify me when a reply is posted
" en bas de la fenêtre de création de réponse... -
RE: [Plugin] Remove group materials, leave geometry material
This is normal your 3 differently painted cars all turned red. I didn't understand thomthom's request (my poor english )... The last one works like the precedent: It puts comp material on geometry, but it doesn't make different color component unique! No need to re-attach the original.
And I also lost this one !! However I'm sure this last update can do what precedent version was able to!
A future version will be able to do what thomthom want... -
RE: [Plugin] Remove group materials, leave geometry material
@unknownuser said:
Sorry for the criticism, hopefully you understand it is intended strictly constructively! I am still your number one fan!
Sorry for the incovenience...@unknownuser said:
Surely this feature overrides the whole point of the original script i.e. that it replaces the default material applied to geometry within groups and components with the material which has been applied to the groups or component. Now all the geometry with default material applied turns a new global colour, which make the script useless for V-Ray users.
You can use this new script as the old... Just select Yes, and default. And it will do the same thing! Or I'm completely wrongIn fact I didn't understand Thomthom's request
Here, the update can replace parent material to desired colour. Or replace the default material when you choose No... If you don't understand, tell me... I have a poor english...Thomthom's request is agood idea... I will see what I can do!
-
RE: [Bug] Add_group inside a component
tt_c2g!!
@unknownuser said:
And IMO, the .parent of Groups and Components should not return the Definition. That's just wrong. We have .definition for that. I find it very odd that there's nothing to trace back the model space entities and components is placed in.
.parent
(that returns the definition) is useful to know where we are. Inside a component, or not. However I think it's the.add_group
function is bugged... We should be able to transform a component directly in its definition.
I tried to create a group of all entities from the definition, and it create the group on the origin of the definition. And when you close the drawing, it bugs. So when you try this'component.definition.entities.add_group(sub_component)'
and you aren't inside this component on your model space, it bugs.
PS : Sorry I don't know how to tell clearly when you are inside a component by double-clickinf on it... -
RE: [Plugin] Selection manager
Thank you craigbic!
@chris said:
I wish it would handle ArcCurves and curves.
Hi Chris! I thought about it... And yes it requires a bit of work But I think it could be possible...
Thank you Chris!@unknownuser said:
But where all that will be stop?
hehe ! The day no one will need for a plugin to save some time.... -
RE: [Plugin] Remove group materials, leave geometry material
Hi thomthom!
Sorry for the delay! Great idea! O've updated the code.
I've tested it veeery quickly....
The plugin post is up-to-date. -
RE: [REQ] components to groups script
See http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10555 please... I've made this plugin on a similar request... But there is a SU bug on creating groups inside a component...