Making Surface array , how to make point array ?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
bleber
Posts: 259
Joined: Thu Jun 30, 2016 5:12 pm

Making Surface array , how to make point array ?

Post by bleber »

Hi.
I have a curved surface, I make a point cloud with points workbench, and I like to make a point array with witha a sphere, I use draft workbench point array , but I have awarming message from console.

Code: Select all

Wrong input: point object doesn't have 'Geometry', 'Links', or 'Components'
I attache my file in the bottom.
Thanks.
Attachments
moeb.FCStd
(59.13 KiB) Downloaded 30 times
Captura.JPG
Captura.JPG (267.47 KiB) Viewed 973 times
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Making Surface array , how to make point array ?

Post by TheMarkster »

It looks like Draft point array doesn't currently work with the Points object. Here is a macro I threw together to convert the Points object into a compound of Draft.points, which will work with the Draft point array. Select the Points object and run the macro. It will take a while depending on how many points you have. Look at the status bar to see a progress indicator.
Snip macro screenshot-0df58e.png
Snip macro screenshot-0df58e.png (145.85 KiB) Viewed 943 times
Attachments
points.FCMacro
(714 Bytes) Downloaded 37 times
User avatar
hammax
Veteran
Posts: 1991
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Making Surface array , how to make point array ?

Post by hammax »

... just for fun I also tried to position spheres on a moebius tape via PathArray.

MoebiusBalls.PNG
MoebiusBalls.PNG (114.93 KiB) Viewed 893 times
Attachments
Moebius.FCStd
FC.18.4
(228.85 KiB) Downloaded 21 times
Moebius_4.FCStd
FC.18.4
(80.35 KiB) Downloaded 24 times
User avatar
Palmtree
Posts: 104
Joined: Wed Apr 08, 2020 5:06 am

Re: Making Surface array , how to make point array ?

Post by Palmtree »

bleber wrote: Thu Aug 12, 2021 11:04 pm I have awarming message from console.

Code: Select all

Wrong input: point object doesn't have 'Geometry', 'Links', or 'Components'
It has been fixed/solved refer to @Roy_043 ==> https://forum.freecadweb.org/viewtopic.php?f=23&t=71957

I have reattached your model free of error (thanks to @Roy_043's patches). Please mark the post as [Solved]

Cheers

****************************************************************
****************************************************************

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30430 (Git)
Build type: Release
Branch: master
Hash: 9e1ed4a68ad43309c2b38f7f5efbb1feac4323cb
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/Australia (en_AU)
Installed mods: 
  * Behave-Dark-Colors 0.1.1
  * BIM 2021.12.0
  * Design456 0.0.1
  * dodo
  * Dracula 0.0.2
  * fasteners 0.4.10
  * Help 1.0.3
  * Parts_library
  * PieMenu
  * ProDarkThemePreferencePack 1.0.0
  * Reinforcement
  * SketchArch
Attachments
moeb-R2.FCStd
(64.05 KiB) Downloaded 17 times
Image 1.jpg
Image 1.jpg (318.03 KiB) Viewed 649 times
User avatar
Vincent B
Veteran
Posts: 4733
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Making Surface array , how to make point array ?

Post by Vincent B »

TheMarkster wrote: Fri Aug 13, 2021 12:54 am Here is a macro I threw together to convert the Points object into a compound of Draft.points, which will work with the Draft point array.
Great! a such macro is missing in Point Wb. Should be added to.
User avatar
Vincent B
Veteran
Posts: 4733
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Making Surface array , how to make point array ?

Post by Vincent B »

Here a tutorial to build surface from point cloud:
https://forum.freecadweb.org/viewtopic.php?f=36&t=63949
User avatar
Vincent B
Veteran
Posts: 4733
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Making Surface array , how to make point array ?

Post by Vincent B »

using Gordon surface.
Attachments
moeb_vb.FCStd
(569.22 KiB) Downloaded 16 times
Post Reply