box) generating so many edges?
You can see that I want to check the volume of the "pipes" , but there are so many duplicates (or at least very close values) that it gives wrong results. How can I remove duplicates here? Vertices also have many duplicates, face might have too.
Second - how can I extrude the different panels (the ones in the end geometry, that are already rotated) such, so the extrusion happens perpendicular the each of them. I will cut them out of 3 mm Plexiglas, but I can cut it only in 90°.
Thanks to anyone that is willing to help, I already tried so many options and nothing worked...…
lass BrepDeform Inherits GH_Component Public Reslist As New List(Of String) Public Sub New() MyBase.New("BrepDeform", "Deform", _ "移动物件的控制点" & vbCrLf & "(Move the control Point to change a object)", "SEG", "Modify")
End Sub Public Overrides ReadOnly Property ComponentGuid As System.Guid Get Return New Guid("8226e0ea-ed6b-47c2-8a24-244f044152d8") End Get End Property Protected Overrides ReadOnly Property Internal_Icon_24x24() As System.Drawing.Bitmap Get Return My.Resources.SEG_BrepDeform End Get End Property Protected Overrides Sub RegisterInputParams(ByVal pManager As GH_Component.GH_InputParamManager) ' pManager.AddTextParameter("Guid", "Id", "将要被替换的犀牛物件" & vbCrLf & "(RhinoObjects that will be replaced)", GH_ParamAccess.item) 'Dim guidParam As New Param_Guid pManager.AddParameter(New Param_Guid, "Guid", "Id", "将要被替换的犀牛物件" & vbCrLf & "(RhinoObjects that will be replaced)", GH_ParamAccess.item) pManager.AddPointParameter("ControlPoint3d", "C", "控制点的位置" & vbCrLf & "(Control Point's location)", GH_ParamAccess.item) pManager.AddPointParameter("NewPoint3d", "P", "新控制点的位置" & vbCrLf & "(New Control Point's location)", GH_ParamAccess.item) pManager.AddNumberParameter("Tolerace", "T", "输入点与物件实际控制点对比的精度" & vbCrLf & "(Tolerace for the Control Point match)", GH_ParamAccess.item, 0.1)
pManager.AddBooleanParameter("BlMove", "M", "如果是True则进行移动" & vbCrLf & "(If true Perform the Move)", GH_ParamAccess.item, False)
End Sub Protected Overrides Sub RegisterOutputParams(ByVal pManager As Kernel.GH_Component.GH_OutputParamManager) pManager.AddTextParameter("Result", "RG", "结果列表" & vbCrLf & "(Result)", GH_ParamAccess.list) End Sub Public Overrides ReadOnly Property Exposure As GH_Exposure Get Return GH_Exposure.primary End Get End Property
Protected Overrides Sub SolveInstance(ByVal DA As Kernel.IGH_DataAccess) If Banner.astrict.showmessage Then Return Dim Ids As Guid = Guid.Empty 'Dim Ids As String = String.Empty Dim tpt As Point3d = Point3d.Unset, opt As Point3d = Point3d.Unset Dim tolar As Double = 0.1 Dim blMove As Boolean = False If Not DA.GetData(0, Ids) Then Return If Not DA.GetData(1, opt) Then Return If Not DA.GetData(2, tpt) Then Return If Not DA.GetData(3, tolar) Then Return If Not DA.GetData(4, blMove) Then Return If Not blMove Then GoTo line1 Reslist.Add(Now & "_未替换!(Replace failed!)") Else Reslist.Clear() ' Grasshopper.Instances.ActiveCanvas.ModifiersEnabled = False End If
' rt.AddRange(docobjlist.Select(Function(geoobj As RhinoObject) GH_Convert.ObjRefToGeometry(New ObjRef(geoobj.Id)))) 'Private Checked(5) As Boolean, Namestr() As String = {"Point", "Curve", "Brep", "Mesh", "TextDot", "TextEntity"}
Try
Dim rh As RhinoDoc = Rhino.RhinoDoc.ActiveDoc Dim rhobj As RhinoObject = rh.Objects.Find(Ids) ' Dim rhobj As RhinoObject = rh.Objects.Find(New Guid(Ids))
Dim bobj As BrepObject = CType(rhobj, BrepObject) RhinoApp.RunScript("Cancel", False) RhinoApp.RunScript("Cancel", False) bobj.Select(True)
RhinoApp.RunScript("_SolidPtOn", False) Dim gobjs As GripObject() = bobj.GetGrips ' rh.Views.RedrawEnabled = False For Each grpobj As GripObject In gobjs
If grpobj.CurrentLocation.DistanceTo(opt) < tolar Then grpobj.Select(True) Dim CurrentPln As Plane = RhinoDoc.ActiveDoc.Views.ActiveView.ActiveViewport.ConstructionPlane Dim tropt As New Point3d(opt), trtpt As New Point3d(tpt) tropt.Transform(Transform.PlaneToPlane(Plane.WorldXY, CurrentPln)) trtpt.Transform(Transform.PlaneToPlane(Plane.WorldXY, CurrentPln))
Dim movestr As String = "_move " + String.Format("{0},{1},{2} ", tropt.X, tropt.Y, tropt.Z) + String.Format("{0},{1},{2} _Cancel _Cancel", trtpt.X, trtpt.Y, trtpt.Z) RhinoApp.RunScript(movestr, True) grpobj.Select(False) End If
Next
'RhinoApp.RunScript("Cancel", False) 'RhinoApp.RunScript("Cancel", False) '' rh.Views.RedrawEnabled = True Reslist.Add(Now & "_替换成功!(Replace Success!)") Catch ex As Exception Reslist.Add(Now & "_替换失败!(Replace failed!)" & vbCrLf & ex.Message)
End Try ' Grasshopper.Instances.ActiveCanvas.ModifiersEnabled = True
line1: DA.SetDataList(0, Reslist) End Sub
'Private Sub Testt_PingDocument(sender As IGH_DocumentObject, e As GH_PingDocumentEventArgs) Handles Me.PingDocument ' Dim Mbool = Aggregate bcbool In Checked Into cb = Any(bcbool)
' If Not Mbool Then ' Checked(0) = True ' Message = Namestr(0) ' Order = 0 ' End If 'End Sub
End Class
The picture below shows the two question.
Question One I must use data dam, or the component can't batch deal the brep. I don't know why, I have You can give me a solution to make it working normal not using the data dam
Question Two I can not uset the Button component, If I use it, the gh canvas will die with some mouse event--. I have see this problem before in this forum,but there is no solution and explain. I want to know why and How to solve it.
I don't know if I have made my question clear,if not give a message. Thank you! Thank you all.
The gh test file and 3dm test file in the upload files.
…
5 Marzo 2017.
Plug it², primo step del percorso formativo in tre fasi “AAD Workshop Series“, è il corso più seguito in Italia sulla modellazione parametrica, giunto al sesto anno consecutivo di attivazione. Plug it² fornirà ai partecipanti un’effettiva padronanza delle più avanzate tecniche di modellazione digitale, approfondendo le metodologie della modellazione algoritmica e parametrica nel campo dell’architettura e del design del prodotto. Il corso è rivolto a studenti e professionisti dei settori della progettazione architettonica, design, moda e gioielleria, con esperienza minima nel disegno CAD bidimensionale (acquisita su qualsiasi piattaforma software) e si articolerà in lezioni teoriche frontali ed esercitazioni guidate.
INFO ED ISCRIZIONI
…
e a critical environment for speculation on the possible transformations of the contemporary human body.
The workshop focuses on the research of geometrical explorations, aesthetic behavior of generative patterns and material performance through medium between computational design, digital fabrication and traditional sartorial techniques in haute couture fashion.
By integrating Design, Fashion and Architecture, the relationship between digital patterns and the human body will be crucial in order to adopt a contemporary language and translate it to a design that is both functional and physically appealing.
In Biology, tissues are organizations of similar cells that are composed of organs and living organisms. Due to the specific qualities of singles cells, some peculiar functions of the tissue emerge; conditioning its effectiveness and determining its’ contribution to the life of the organism. The same biological principles can be applied to any design: when the designer explores these particular parametric strategies, it is important to work with a tool that provides efficient feedback and allows one to easily introduce a wide range of variations leading to significant qualities for a design evolutionary process.
The workshop aims to produce full human scale 1:1 prototype wearable garments, in which will be exhibited during Milan Design Week in April 2017 at SBODIO32 Exhibition.
Dates: 18th April - 23rd March 2017 Tutors and Professors: ALESSANDRO ZOMPARELLI Designer and co-founder of MHOX STUDIO 3D Modelling for Product Design Professor at Academy of Fine Arts in Bologna Member of Co-de-iT Developer of Tissue, plugin for computational design in Blender FRANCESCO ANTICI Fashion Designer and Director of ARCHilista ALESSANDRO TURCI Professor of Fashion Publishing at Brera Academy and IED Milano. Director of Risekult Association. CLAUDIO LARCHER Course Leader of Design Bachelor at NABA Academy
more on http://www.sbodio32.com/emerging-skins…
Added by Amrvitaloni at 9:30am on February 25, 2017
rld of Parametric Design by learning Parametric Design Techniques with Grasshopper.
For details and registration check out: http://www.d-nat.net/topologies-entry or email: contact@d-nat.net
The workshop will also prepare you for the entry level of the intermediate / advanced workshop Fabricated Topologies, which is taking place on Jan 17-21, 2017. Check out http://www.d-nat.net/fabricated-topologies for details.
…
Added by Zayad Motlib at 12:03am on December 15, 2016
ades del Espacio en 1981). En este, O'Neill propone la colonización del espacio para el siglo XXI mediante el uso de ingeniería espacial construida con materiales de lugares como la Luna o asteroides. Consta de dos grandes cilindros de rotación opuesta, con dimensiones de 3,2 km de radio y 32 km de largo, que están conectados en cada extremo por una varilla a través de un sistema de rodamientos. Rotan a fin de proporcionar gravedad en sus superficies interiores, que estarían acondicionadas como un medio de vegetación natural con árboles, hierba, arroyos y lagos y es el lugar donde se desarrollaría toda actividad. La circunferencia del cilindro se dividiría en seis regiones, tres “valles” habitables alternando con tres hileras de ventanas que permitirían el paso de la luz solar. Además existiría un anillo exterior para la agricultura de quince kilómetros de radio, el cual gira en una velocidad diferente a los cilindros. La zona industrial y la fabricación estaría localizada en eje del cilindro, detrás de la antena parabólica. En esta zona la gravedad es mínima, algo que se tendría en cuenta en algunos procesos de fabricación y otras actividades de la colonia.…
ades del Espacio en 1981). En este, O'Neill propone la colonización del espacio para el siglo XXI mediante el uso de ingeniería espacial construida con materiales de lugares como la Luna o asteroides. Consta de dos grandes cilindros de rotación opuesta, con dimensiones de 3,2 km de radio y 32 km de largo, que están conectados en cada extremo por una varilla a través de un sistema de rodamientos. Rotan a fin de proporcionar gravedad en sus superficies interiores, que estarían acondicionadas como un medio de vegetación natural con árboles, hierba, arroyos y lagos y es el lugar donde se desarrollaría toda actividad. La circunferencia del cilindro se dividiría en seis regiones, tres “valles” habitables alternando con tres hileras de ventanas que permitirían el paso de la luz solar. Además existiría un anillo exterior para la agricultura de quince kilómetros de radio, el cual gira en una velocidad diferente a los cilindros. La zona industrial y la fabricación estaría localizada en eje del cilindro, detrás de la antena parabólica. En esta zona la gravedad es mínima, algo que se tendría en cuenta en algunos procesos de fabricación y otras actividades de la colonia.…
ades del Espacio en 1981). En este, O'Neill propone la colonización del espacio para el siglo XXI mediante el uso de ingeniería espacial construida con materiales de lugares como la Luna o asteroides. Consta de dos grandes cilindros de rotación opuesta, con dimensiones de 3,2 km de radio y 32 km de largo, que están conectados en cada extremo por una varilla a través de un sistema de rodamientos. Rotan a fin de proporcionar gravedad en sus superficies interiores, que estarían acondicionadas como un medio de vegetación natural con árboles, hierba, arroyos y lagos y es el lugar donde se desarrollaría toda actividad. La circunferencia del cilindro se dividiría en seis regiones, tres “valles” habitables alternando con tres hileras de ventanas que permitirían el paso de la luz solar. Además existiría un anillo exterior para la agricultura de quince kilómetros de radio, el cual gira en una velocidad diferente a los cilindros. La zona industrial y la fabricación estaría localizada en eje del cilindro, detrás de la antena parabólica. En esta zona la gravedad es mínima, algo que se tendría en cuenta en algunos procesos de fabricación y otras actividades de la colonia.…
ades del Espacio en 1981). En este, O'Neill propone la colonización del espacio para el siglo XXI mediante el uso de ingeniería espacial construida con materiales de lugares como la Luna o asteroides. Consta de dos grandes cilindros de rotación opuesta, con dimensiones de 3,2 km de radio y 32 km de largo, que están conectados en cada extremo por una varilla a través de un sistema de rodamientos. Rotan a fin de proporcionar gravedad en sus superficies interiores, que estarían acondicionadas como un medio de vegetación natural con árboles, hierba, arroyos y lagos y es el lugar donde se desarrollaría toda actividad. La circunferencia del cilindro se dividiría en seis regiones, tres “valles” habitables alternando con tres hileras de ventanas que permitirían el paso de la luz solar. Además existiría un anillo exterior para la agricultura de quince kilómetros de radio, el cual gira en una velocidad diferente a los cilindros. La zona industrial y la fabricación estaría localizada en eje del cilindro, detrás de la antena parabólica. En esta zona la gravedad es mínima, algo que se tendría en cuenta en algunos procesos de fabricación y otras actividades de la colonia.…