figure en robe rayonnante modèle 3D : # Figure en robe rayonnante aux bras étendus - script SketchUp Ruby
# Exécuter d | Tripo AI
Lv.0

radiant robed figure 3d model

Parcourir tous les modèles 3D
Prompt

# Figure en robe rayonnante aux bras étendus - script SketchUp Ruby # Exécuter dans SketchUp : Fenêtre > Console Ruby, puis : load "C:/path/to/radiant_figure_sketchup.rb" # Unités : centimètres. La figure fait face à -Y (vue de face), les rayons sont derrière elle à +Y. module RadiantFigure model = Sketchup.active_model model.start_operation('Radiant Figure', true) root = model.active_entities.add_group root.name = 'Radiant Figure' def self.mat(model, name, rgb, alpha = 1.0) m = model.materials[name] || model.materials.add(name) m.color = Sketchup::Color.new(*rgb) m.alpha = alpha m end # Surface de révolution autour de Z local. profil = [[rayon_cm, z_cm], ...] def self.lathe(parent, profile, seg = 32, name = 'part') g = parent.entities.add_group g.name = name mesh = Geom::PolygonMesh.new rings = profile.map do |r, z| (0...seg).map do |j| a = 2 * Math::PI * j / seg Geom::Point3d.new((r * Math.cos(a)).cm, (r * Math.sin(a)).cm, z.cm) end

4K·PBR·Tripo H3.1

Modèles similaires