Ton bloc notes
Derniers sujets
» [ SKETCHUP LIVE COMPONENT ] Importer une liste de points dans son graphe via un input texte
par tenrev Aujourd'hui à 13:30
» [ SKETCHUP généralité ] Interface réinitialisée totalement suite connexion Trimble
par tenrev Hier à 10:31
» [ ARCHICAD ] Torsion sur poteaux
par Archi43 Hier à 9:46
» [ ARCHICAD-OBJETS GDL ] Sortie de toit TCP (Poujoulat)
par BoTof Lun 25 Mar 2024 - 9:12
» [ SKETCHUP LIVE COMPONENT ] besoin de tuyaux sur les textures random
par tenrev Sam 23 Mar 2024 - 10:35
» [ SKETCHUP composants dynamiques ] Copies de copies
par Manutio Ven 22 Mar 2024 - 12:21
» [ SKETCHUP plugins ] plugin pour les textes
par vick Ven 22 Mar 2024 - 10:34
» [ INTELLIGENCE ARTIFICIELLE ] quelques vidéo de mes tests IA
par tenrev Jeu 21 Mar 2024 - 9:25
» [ SKETCHUP généralité ] SÉLECTIONNER - Tuto 4/4 - 2ème TECHNIQUE INÉDITE
par jerryvento Jeu 21 Mar 2024 - 9:08
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 4/4 - 2ème TECHNIQUE INÉDITE
par jerryvento Jeu 21 Mar 2024 - 9:07
» [ KEYSHOT ] plugin sketchup
par tenrev Mer 20 Mar 2024 - 8:26
» [ SKETCHUP LIVE COMPONENT ] rendre visible ou invisible un paramètre utilisateur selon des conditions ?
par simjoubert Mar 19 Mar 2024 - 15:38
» [ PRESENTATION ] Manutio
par Manutio Lun 18 Mar 2024 - 9:21
» [ ARTLANTIS ] Ca donne envie !
par fraid Ven 15 Mar 2024 - 7:44
» [ SKETCHUP généralité ] SÉLECTIONNER - Tuto 3/4 - 1ère TECHNIQUE INÉDITE
par JDD Mer 13 Mar 2024 - 10:39
» [ SKETCHUP plugins ] SketchUp et Menuiserie : Rencontre avec Artwood
par art wood concept Mer 13 Mar 2024 - 9:54
» [ ARCHICAD ] Zone - Menu déroulant
par Archi43 Mar 12 Mar 2024 - 16:29
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 3/4 - 1ère TECHNIQUE INÉDITE
par jerryvento Mar 12 Mar 2024 - 8:48
» [ SKETCHUP LIVE COMPONENT ] table avec chaises
par tenrev Mar 12 Mar 2024 - 8:46
» [ SKETCHUP généralité ] Problème d'ouverture de SKP
par lionel Claude Lun 11 Mar 2024 - 18:14
» [ TWINMOTION ] Rotation des tuiles sur TM 2023 avec fichier issu de Allplan 2015
par Gaspard Hauser Lun 11 Mar 2024 - 13:48
» [ TWINMOTION ] CONSEIL FORMATION
par Marucia Lun 11 Mar 2024 - 13:29
» [ SKETCHUP plugins ] selection
par Gaspard Hauser Dim 10 Mar 2024 - 19:17
» [ TWINMOTION ] réduire le champs de travail ?
par Gaspard Hauser Dim 10 Mar 2024 - 19:13
» [ TWINMOTION ] eGPU / ralentissement Twinmotion important
par Gaspard Hauser Dim 10 Mar 2024 - 19:09
» [ SKETCHUP plugins ] sj_AddDCFunctions
par Miroslav Sam 9 Mar 2024 - 18:30
» [ SKETCHUP généralité ] Quel logiciel d'animation
par polo Sam 9 Mar 2024 - 17:35
» [ SKETCHUP tutos ] texture pour sketchup
par tenrev Ven 8 Mar 2024 - 9:25
» [ SKETCHUP LIVE COMPONENT ] les boucles Loop dans trimble creator
par tenrev Jeu 7 Mar 2024 - 10:21
» [ PRESENTATION ]
par Coulou Mer 6 Mar 2024 - 8:51
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 2/4 - INVERSER LA SÉLECTION avec 2017
par jerryvento Lun 4 Mar 2024 - 10:28
» [ SKETCHUP généralité ] crash
par TF3 Sam 2 Mar 2024 - 17:51
» [ SKETCHUP composants dynamiques ] Hidden avec formule IF et OR imbriqué
par Samuel MATHIEU Ven 1 Mar 2024 - 20:28
» [ SKETCHUP LIVE COMPONENT ] doc en anglais
par tenrev Ven 1 Mar 2024 - 13:42
» [ SKETCHUP composants dynamiques ] Un bug que je ne comprend pas
par boulii Jeu 29 Fév 2024 - 21:37
par tenrev Aujourd'hui à 13:30
» [ SKETCHUP généralité ] Interface réinitialisée totalement suite connexion Trimble
par tenrev Hier à 10:31
» [ ARCHICAD ] Torsion sur poteaux
par Archi43 Hier à 9:46
» [ ARCHICAD-OBJETS GDL ] Sortie de toit TCP (Poujoulat)
par BoTof Lun 25 Mar 2024 - 9:12
» [ SKETCHUP LIVE COMPONENT ] besoin de tuyaux sur les textures random
par tenrev Sam 23 Mar 2024 - 10:35
» [ SKETCHUP composants dynamiques ] Copies de copies
par Manutio Ven 22 Mar 2024 - 12:21
» [ SKETCHUP plugins ] plugin pour les textes
par vick Ven 22 Mar 2024 - 10:34
» [ INTELLIGENCE ARTIFICIELLE ] quelques vidéo de mes tests IA
par tenrev Jeu 21 Mar 2024 - 9:25
» [ SKETCHUP généralité ] SÉLECTIONNER - Tuto 4/4 - 2ème TECHNIQUE INÉDITE
par jerryvento Jeu 21 Mar 2024 - 9:08
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 4/4 - 2ème TECHNIQUE INÉDITE
par jerryvento Jeu 21 Mar 2024 - 9:07
» [ KEYSHOT ] plugin sketchup
par tenrev Mer 20 Mar 2024 - 8:26
» [ SKETCHUP LIVE COMPONENT ] rendre visible ou invisible un paramètre utilisateur selon des conditions ?
par simjoubert Mar 19 Mar 2024 - 15:38
» [ PRESENTATION ] Manutio
par Manutio Lun 18 Mar 2024 - 9:21
» [ ARTLANTIS ] Ca donne envie !
par fraid Ven 15 Mar 2024 - 7:44
» [ SKETCHUP généralité ] SÉLECTIONNER - Tuto 3/4 - 1ère TECHNIQUE INÉDITE
par JDD Mer 13 Mar 2024 - 10:39
» [ SKETCHUP plugins ] SketchUp et Menuiserie : Rencontre avec Artwood
par art wood concept Mer 13 Mar 2024 - 9:54
» [ ARCHICAD ] Zone - Menu déroulant
par Archi43 Mar 12 Mar 2024 - 16:29
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 3/4 - 1ère TECHNIQUE INÉDITE
par jerryvento Mar 12 Mar 2024 - 8:48
» [ SKETCHUP LIVE COMPONENT ] table avec chaises
par tenrev Mar 12 Mar 2024 - 8:46
» [ SKETCHUP généralité ] Problème d'ouverture de SKP
par lionel Claude Lun 11 Mar 2024 - 18:14
» [ TWINMOTION ] Rotation des tuiles sur TM 2023 avec fichier issu de Allplan 2015
par Gaspard Hauser Lun 11 Mar 2024 - 13:48
» [ TWINMOTION ] CONSEIL FORMATION
par Marucia Lun 11 Mar 2024 - 13:29
» [ SKETCHUP plugins ] selection
par Gaspard Hauser Dim 10 Mar 2024 - 19:17
» [ TWINMOTION ] réduire le champs de travail ?
par Gaspard Hauser Dim 10 Mar 2024 - 19:13
» [ TWINMOTION ] eGPU / ralentissement Twinmotion important
par Gaspard Hauser Dim 10 Mar 2024 - 19:09
» [ SKETCHUP plugins ] sj_AddDCFunctions
par Miroslav Sam 9 Mar 2024 - 18:30
» [ SKETCHUP généralité ] Quel logiciel d'animation
par polo Sam 9 Mar 2024 - 17:35
» [ SKETCHUP tutos ] texture pour sketchup
par tenrev Ven 8 Mar 2024 - 9:25
» [ SKETCHUP LIVE COMPONENT ] les boucles Loop dans trimble creator
par tenrev Jeu 7 Mar 2024 - 10:21
» [ PRESENTATION ]
par Coulou Mer 6 Mar 2024 - 8:51
» [ SKETCHUP tutos ] SÉLECTIONNER - Tuto 2/4 - INVERSER LA SÉLECTION avec 2017
par jerryvento Lun 4 Mar 2024 - 10:28
» [ SKETCHUP généralité ] crash
par TF3 Sam 2 Mar 2024 - 17:51
» [ SKETCHUP composants dynamiques ] Hidden avec formule IF et OR imbriqué
par Samuel MATHIEU Ven 1 Mar 2024 - 20:28
» [ SKETCHUP LIVE COMPONENT ] doc en anglais
par tenrev Ven 1 Mar 2024 - 13:42
» [ SKETCHUP composants dynamiques ] Un bug que je ne comprend pas
par boulii Jeu 29 Fév 2024 - 21:37
formulaire/diaporama
chaine sketchup.tv
format r.b
Page 1 sur 1 • Partagez
- william bilcotLoquace
- Date d'inscription : 14/10/2009
Nombre de messages : 53
Points : 81
Age : 47
Localisation : bretagne
Emploi : charpentier
salut a tout le monde.
je cherche un programme pour lire un scrip r.b.
pour installer un plugin sketchup.
merci.
#-----------------------------------------------------------------------------
# polar_zonohedron v 1.0
# Copyright 2010, Rob Bell
# author: Rob Bell
#
# Permission to use, copy, modify, and distribute this software for
# any purpose and without fee is hereby granted, provided the above
# copyright notice appear in all copies
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#-----------------------------------------------------------------------------
require "sketchup.rb"
include Math
def polar_zonohedron #frequency, pitch = atan(sqrt(2)/2), len = 1.0 # frequency,pitch,length
mo = Sketchup.active_model
mo.start_operation $exStrings.GetString("polar_zonohedron")
prompts = [$exStrings.GetString("Frequency"), $exStrings.GetString("Pitch in radians"), $exStrings.GetString("Length")]
values = [8, "atan( sqrt(2)/2 )", 12.inch]
results = inputbox prompts, values, $exStrings.GetString("Polar Zonohedron")
return if not results # This means that the user canceld the operation
frequency = results[0]
pitch = eval( results[1] )
len = results[2]
ents = mo.active_entities
grp = ents.add_group
ents = grp.entities
pts=[]
#we begin by setting pts[0] to the origin
pts[0] = Geom::Point3d.new(0,0,0)
vector = Geom::Vector3d.new(cos(pitch),0,sin(pitch) ) #tilt pitch vector up the xz plane
vector.length = len
#Using the origin as the initial generator we iterate thru each zone of the zonohedron
#our first task is to define the four points of the base rhomb for this zone
#at the end the pts[3] becomes our new origin for the rhomb of the next zone
1.upto(frequency-1){ |i|
p_rotate = Geom::Transformation.rotation( pts[0] , Geom::Vector3d.new(0,0,1), i*2*PI/frequency )
#obtain the other three points of the rhomb face
pts[1] = pts[0].transform vector
pts[3] = pts[1].transform( p_rotate )
pts[2] = pts[3].transform( vector )
#we now have the 4 points which make this zone's base rhomb
#so we rotate around the origin frequency times making a star pattern of faces
0.upto(frequency-1){ |j|
f_rotate = Geom::Transformation.rotation( Geom::Point3d.new(0,0,0) , Geom::Vector3d.new(0,0,1), j*2*PI/frequency )
ents.add_face( pts.collect{|p| p.transform(f_rotate)} )
}
#set the origin for the rhomb of the next zone
pts[0] = pts[3]
}
mo.commit_operation
end
if( not file_loaded?("polar_zonohedron.rb") )
add_separator_to_menu("Plugins")
UI.menu("Plugins").add_item($exStrings.GetString("Polar Zonohedron")) { polar_zonohedron }
end
#-----------------------------------------------------------------------------
file_loaded("polar_zonohedron.rb")
je cherche un programme pour lire un scrip r.b.
pour installer un plugin sketchup.
merci.
#-----------------------------------------------------------------------------
# polar_zonohedron v 1.0
# Copyright 2010, Rob Bell
# author: Rob Bell
#
# Permission to use, copy, modify, and distribute this software for
# any purpose and without fee is hereby granted, provided the above
# copyright notice appear in all copies
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#-----------------------------------------------------------------------------
require "sketchup.rb"
include Math
def polar_zonohedron #frequency, pitch = atan(sqrt(2)/2), len = 1.0 # frequency,pitch,length
mo = Sketchup.active_model
mo.start_operation $exStrings.GetString("polar_zonohedron")
prompts = [$exStrings.GetString("Frequency"), $exStrings.GetString("Pitch in radians"), $exStrings.GetString("Length")]
values = [8, "atan( sqrt(2)/2 )", 12.inch]
results = inputbox prompts, values, $exStrings.GetString("Polar Zonohedron")
return if not results # This means that the user canceld the operation
frequency = results[0]
pitch = eval( results[1] )
len = results[2]
ents = mo.active_entities
grp = ents.add_group
ents = grp.entities
pts=[]
#we begin by setting pts[0] to the origin
pts[0] = Geom::Point3d.new(0,0,0)
vector = Geom::Vector3d.new(cos(pitch),0,sin(pitch) ) #tilt pitch vector up the xz plane
vector.length = len
#Using the origin as the initial generator we iterate thru each zone of the zonohedron
#our first task is to define the four points of the base rhomb for this zone
#at the end the pts[3] becomes our new origin for the rhomb of the next zone
1.upto(frequency-1){ |i|
p_rotate = Geom::Transformation.rotation( pts[0] , Geom::Vector3d.new(0,0,1), i*2*PI/frequency )
#obtain the other three points of the rhomb face
pts[1] = pts[0].transform vector
pts[3] = pts[1].transform( p_rotate )
pts[2] = pts[3].transform( vector )
#we now have the 4 points which make this zone's base rhomb
#so we rotate around the origin frequency times making a star pattern of faces
0.upto(frequency-1){ |j|
f_rotate = Geom::Transformation.rotation( Geom::Point3d.new(0,0,0) , Geom::Vector3d.new(0,0,1), j*2*PI/frequency )
ents.add_face( pts.collect{|p| p.transform(f_rotate)} )
}
#set the origin for the rhomb of the next zone
pts[0] = pts[3]
}
mo.commit_operation
end
if( not file_loaded?("polar_zonohedron.rb") )
add_separator_to_menu("Plugins")
UI.menu("Plugins").add_item($exStrings.GetString("Polar Zonohedron")) { polar_zonohedron }
end
#-----------------------------------------------------------------------------
file_loaded("polar_zonohedron.rb")
tu n'as pas besoin de programme spécifique il faut juste mettre ton fichier rb dans le répertoire plugin de sketchup et lors du démarrage de SU le plugin sera chargé en mémoire et sera utilisable
mais j'ai peut être dit une connerie et pas bien compris ta question
mais j'ai peut être dit une connerie et pas bien compris ta question
-------------------------------------------------------------------------------------------------------------------------
je ne sais pas grand chose , mais le peu que je sache , je le partage
1 PC fixe avec proc Rizen 9 3950X 32 threads - cg nvidia geforce RTX3080 - 64 go de ram DDssd 1To
1 PC portable Lenovo écran 16''|win11 64 bits| i7 Quad core|ram 32go| CG GFORCE RTX3070 avec 8go
1 casque VR Occulus Rift - 1 vieux PC portable Dell sous Linux Ubuntu 18 1 vieux pc portable HP sous chromebook
Modélisation : Sketchup - Rhino - Pconplanner Rendu: Enscape - Keyshot - Unreal Engine - Artlantis - Twinmotion Autres: Photoshop - Illustrator - Indesign - Vidéostudio - After Effect - Première
juste : .rb
pas r.b.
:icon_wink:
pas r.b.
:icon_wink:
-------------------------------------------------------------------------------------------------------------------------
" heureux les fêlés car ils laissent passer la lumière "
- william bilcotLoquace
- Date d'inscription : 14/10/2009
Nombre de messages : 53
Points : 81
Age : 47
Localisation : bretagne
Emploi : charpentier
bonsoir.
j'ai essayé de copier et coller le plungin, mais il ne veut pas ce coller dans le fichier plugin sketchup.
c'est pour cela que je vous demandé s'il fallait transformer le rb que j'ai mis sur mon premier message en ?????
j'ai essayé de copier et coller le plungin, mais il ne veut pas ce coller dans le fichier plugin sketchup.
c'est pour cela que je vous demandé s'il fallait transformer le rb que j'ai mis sur mon premier message en ?????
Salut William,
tu le télécharges ici => http://www.box.net/shared/r6y50ex1tn
tu cliques sur "Enregister" et tu l'enregistres dans le répertoire Plugins de Sketchup (Généralement => C:\Program Files\Google\Google SketchUp 7\Plugins) et tu redémarres Sketchup
@+
Christophe
tu le télécharges ici => http://www.box.net/shared/r6y50ex1tn
tu cliques sur "Enregister" et tu l'enregistres dans le répertoire Plugins de Sketchup (Généralement => C:\Program Files\Google\Google SketchUp 7\Plugins) et tu redémarres Sketchup
@+
Christophe
Salut William, j'aime beaucoup ton avatar cela me rappelle quand je relevais des charpentes dans de veilles longères....
-------------------------------------------------------------------------------------------------------------------------
Dites-vous bien que dans la vie, ne pas reconnaître son talent, c'est favoriser la réussite des médiocres.
Autocad | Photoshop | Sketchup pro |
Sujets similaires
Créer un compte ou se connecter pour répondre
Vous devez être membre pour répondre.
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum