Jump to content

Polyface Mesh to Solid


joefromjersey

Recommended Posts

Hi I created a 3D math surface using 3DPLOT. However my outcome is a polyface mesh and I need to convert it to a solid. I have already tried the "Convert to Solid" & "Convert to Surface" options in the Mesh tab but I get "Mesh not converted because it is not closed or it self-intersects." I also tried the f2s.lsp but I am unsure on how to select my object.

 

Here is my object:

https://www.yousendit.com/dl?phi_action=app/orchestrateDownload&rurl=https%253A%252F%252Fwww.yousendit.com%252Ftransfer.php%253Faction%253Dbatch_download%2526batch_id%253DQlVqaUNIQzN3TGhvZE1UQw

 

It is basically a 3D plot of cos(x) + cos(y).

Link to comment
Share on other sites

  • Replies 33
  • Created
  • Last Reply

Top Posters In This Topic

  • joefromjersey

    18

  • SEANT

    7

  • JD Mather

    7

  • ReMark

    2

Top Posters In This Topic

Posted Images

I keep getting "1 object found" followed by "1 object filtered out". I am not sure if I am selecting the object correctly though.

Link to comment
Share on other sites

That looks great! How were you able to plot the splines from just one part of the sine wave? Could you provide some more details from your procedure?

Link to comment
Share on other sites

If you look in the SineConstruction drawing you will see the curves I used for lofting on ConstrGeom layer. That geometry already existed from a previous project - I just scaled it manually to get a visual match of your mesh geometry. The curves were originally computed via Excel to match an amplitude of 1 and a period of PI. Excel could just as easily created any custom amplitude and/or period required.

 

With the lofted surface I sliced an appropriately sized 3DSolid block. I used Block References to keep the file size down, but the process can be modified to get a solid of arbitrary size - either by boolean union or multiple period curves.

Link to comment
Share on other sites

Private messaging may be one of the features restricted to members with at least 10 posts.

 

 

 

In the meantime, post the question here.

 

 

 

If we had conversed via “Private” messaging I would probably have suggested sticking with the “Public” forum for various reasons, e.g., the possibility remains for valuable insight from other members, future searches will find a more complete thread here, etc.

Link to comment
Share on other sites

Ok, I understand. I was going to ask if you would be able to make an in-depth or step-by-step tutorial on the techniques required to make the sinusoidal solid molds. I am very new to AutoCad (never used it before this project) and I would usually take the time to figure them out on my own (like I did with modeling the polyface meshes) but the project I am a part of basically just asks me to come up with the models quickly and does not really require me to learn much about AutoCad (most likely will not be using it again in the future). I have tried learning the techniques on my own but time is not in my favor.

Link to comment
Share on other sites

I can certainly relate to time constraint issues, and,unfortunately , an in-depth, step by step tutorial would be fairly time consuming.

 

 

 

I don’t usually suggest this but, if your time constraints are tight, perhaps you should just list the required parameters* and see if one of us members can whip something together. I’m going to be away from the computer for the remainder of today, and most of tomorrow, but if nothing has materialized I’ll look into it this weekend.

 

 

 

*Those parameters may serve as a good foundation for any subsequent tutorial.

Link to comment
Share on other sites

Yes I understand and thank you for all your help thus far. Basically the solids you converted were excellent and I need to make three of them for different overall amplitudes (2mm, 1mm, 0.5mm), a constant wavelength (4mm), and a constant overall length and width for the solids (40mm & 30mm).

 

I did some calculations and figured that the the defun's should be:

(defun myFunc (x y) (list x y (+ (cos (* x 1.5708 )) (cos (* y 1.5708 )))))

(defun myFunc (x y) (list x y (+ (* 0.5 cos (* x 1.5708 )) (* 0.5 cos (* y 1.5708 )))))

(defun myFunc (x y) (list x y (+ (* 0.25 cos (* x 1.5708 (* 0.25 cos (* y 1.5708 )))))

 

Note that in the list the amplitudes are 1, 0.5 & .25 because the the amplitudes of cos(x) & cos(y) should be A/2 to get an overall amplitude of A. Also constant k=1.57 was calculated using k=2*pi*x/lambda.

 

However, I am unsure how to get the desired length & width when calling the LISP function:

3DPlot functionName startU endU stepU startV endV stepV).

Edited by joefromjersey
Link to comment
Share on other sites

Here are some unit blocks for the 3d waveforms. I include one extra as I’m not exactly surewhat constitutes the overall amplitude when dealing with these 3d Surface/Solid constructs.

 

 

 

The blocks can be arrayed, then “UNION”ed together to one large solid. SLICE the edges to achieve final shape.

UnitBlocks.dwg

Link to comment
Share on other sites

Wow thanks again SEANT! Just a couple last questions. Which ones are the 0.5mm, 1mm & 2mm amplitudes and what amplitude is the fourth one? Also when I try to union the arrays there is only one solid for me to select (the original unit block) so I am unsure how I should union them.

Link to comment
Share on other sites

Wow thanks again SEANT! Just a couple last questions. Which ones are the 0.5mm, 1mm & 2mm amplitudes and what amplitude is the fourth one? Also when I try to union the arrays there is only one solid for me to select (the original unit block) so I am unsure how I should union them.

 

It depends on what is considered the amplitude. For instance, here is the largest with 3 possible amplitudes shown.

 

Each of the solids has an amplitude that is a factor of 2 to its neighbor. Choose which solids to keep based on your definition of amplitude.

 

Amplitude.jpg

 

You would create the array by copying (or via the ARRAY command) to the size you need. You would then UNION the solids, to form the sloid the size you need. If you need the waveform to start at a different position you may have to add an additional row in the array, UNION, then slice to the correct Start/End location.Array.jpg

Link to comment
Share on other sites

By amplitude I meant the highest peak/lowest valley, my mistake for forgetting to specify. Could you please provide the amplitudes for the four unit blocks?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...