TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When replying to a specific statement be sure to quote the previous post.

The "Surface from Law" tool
Read 4546 times
* April 02, 2016, 11:40:32 AM
Just finished an article that introduces TCad's "Surface from Law" tool. Fifty-three pages, 49 illustrations, and a bazillion mathematical formulas. This is a mathematical tool and there's no way to treat it non-mathematically, but anyone who's comfortable with high-school algebra and understands sines and cosines should have no trouble following the article. Staying awake is another matter. The article isn't really a tutorial; more like a short textbook, but heaven knows there are many more aspects of this tool than I touched upon.

Download it here.

Henry H

EDIT: The table on Page 17 contains errors. I have deleted the original article and attached the corrected version in its place. I've also attached a screenshot of the corrected table.
« Last Edit: November 03, 2016, 08:13:23 AM by Henry Hubich »

Logged


April 02, 2016, 01:49:42 PM
#1
Gave it a quick once-over and read a couple pages; it is a fascinating primer on how to use this functionality.

Thanks, Henry.


Jeff

Logged
TC Pro Platinum 2017, 2016 & 2015 (all with LightWorks) & V21
System: i7-5820K @ 3.30GHz, ASRock X99 Extreme4, 16GB DDR4-2133 RAM, Gigabyte GTX 970, Samsung NVMe SSD 950 (256GB), Windows 7 Pro (64-bit) SP1


* April 02, 2016, 01:54:57 PM
#2
Wow, thanks for doing this Henry.

Only had a quick look up to now as its going to take reading it quite a few times to try and sink in to my non-mathematical brain.

Logged


April 02, 2016, 02:21:40 PM
#3
Henry,

thank you.
I'm looking forward to studying your latest . . . whatever!

Regards Tim

Logged
You can design without engineering, but you cannot engineer without design.
Testing/using with Win 10 and various TurboCAD 64-bit versions.


April 02, 2016, 04:10:46 PM
#4
Thank you very much Henry, it's completely Help to this tool

Logged
Intel Core i7-3770 CPU 3,40GHz, 16GB RAM, NVIDIA GeForce GTX 760, 120+60GB SSD, Win 7 HP 64bit

TurboCAD Pro Platinum x64
www.invent-dizajn.sk, www.facebook.com/marian.jurcak


* April 03, 2016, 11:09:18 AM
#5
Thanks for the tutorial Henry. This is just one reason to brush up on math, the other one is astronomy (measuring binary stars). I haven't checked but do the other CAD programs have a similar "Laws" tools, I sure they do. (Autocad, Solidworks, ect.)

Logged
TC 2017 Plat. x32 / x64 (LightWorks)
Win 10 Pro 64.
i7-3770 16 GB. Ram.
Nivda GeForce GTX 970 4 GB.


* April 03, 2016, 12:11:19 PM
#6
Impressive short txt book Henry...Thank you to help us out with this!!

Logged


* April 13, 2016, 07:41:49 AM
#7
Henry,

Thank you for the excellent document!

btw, it appears that using the sqrt function in the Surfrace from Law tool causes tcad to crash, like, z(u,v)=sqrt(u*2)

Has this happened to anyone else?

Thanks
Kevin

Logged


* April 13, 2016, 08:03:19 AM
#8
Henry,

Thank you for the excellent document!

btw, it appears that using the sqrt function in the Surfrace from Law tool causes tcad to crash, like, z(u,v)=sqrt(u*2)

Has this happened to anyone else?

Thanks
Kevin

I've had problems with the sqrt function, too. Instead of sqrt(x), I now use abs(x)^.5 with no trouble.

Henry H

Logged


* April 13, 2016, 08:24:45 AM
#9
Not sure why but abs(u)^.5 is not working for me either.

Logged


* April 13, 2016, 10:19:14 AM
#10
Not sure why but abs(u)^.5 is not working for me either.

Care to post the X, Y, and Z Laws you're working with?

Henry H

Logged


* April 13, 2016, 12:40:32 PM
#11
Certainly,

Using the Surface from Law tool, I used

x(u,v) = u
y(u,v) = v
z(u,v) = abs(u)^.5

Thanks
Kevin

Logged


* April 13, 2016, 01:08:41 PM
#12
I should note to that the crash does not show up until you click on the model space.

Logged


* April 13, 2016, 01:10:18 PM
#13
Certainly,

Using the Surface from Law tool, I used

x(u,v) = u
y(u,v) = v
z(u,v) = abs(u)^.5

Thanks
Kevin

Strange. Works fine for me.

Henry H

Logged


* April 13, 2016, 01:35:15 PM
#14
Crashed for me also. It generated a UE and sent the report to SoftDev.

On a second crash, I answered "No" and copied the M$ report.
Code: [Select]
Problem signature:
  Problem Event Name: APPCRASH
  Application Name: tcw23.exe
  Application Version: 23.0.23.1
  Application Timestamp: 56f9cbca
  Fault Module Name: MSVCR100.dll
  Fault Module Version: 10.0.40219.1
  Fault Module Timestamp: 4d5f034a
  Exception Code: 40000015
  Exception Offset: 00000000000761c9
  OS Version: 6.0.6002.2.2.0.256.6
  Locale ID: 1033
  Additional Information 1: c457
  Additional Information 2: d152718b5945b031752a3c3117d3d332
  Additional Information 3: 7791
  Additional Information 4: 568dad990b75121c0f3882a6e539fd4b
« Last Edit: April 13, 2016, 01:41:29 PM by John R »

Logged
John R.

V17—V21, 2015, 2016, 2017
Designer, Deluxe, Basic, Platinum
RedSDK enabled
Windows 10, 64-bit


* April 13, 2016, 04:35:51 PM
#15
It worked ok for me, using Henry's image
The other shape has six sqrt(2) in the formula = no problem either.

What version are you using, kevin, 32 or 64 bit?
Maybe something got corrupt, though I would double check your formulas.

Logged
"What do I know, I'm still learning"..
Windows 7 64 bit HP > on a stock HP laptop with 4gb-2.4 GHz.Turbocad 2016-2017, TurboCad Platinum 21(Best working version,IMHO) Using Lightworks for reliability/stability and testing redsdk, Anilab lab 5, Renditioner Pro V3. ATI Mobility Radeon HD 4500/5100


* April 13, 2016, 10:06:54 PM
#16
I tried the formula in Windows 10 and it crashed there.

Vista w/Platinum 64bit - crashed
Win 10 w/Platinum 64bit - crashed
Win 7 w/Pro Basic 32bit - no tool

Logged
John R.

V17—V21, 2015, 2016, 2017
Designer, Deluxe, Basic, Platinum
RedSDK enabled
Windows 10, 64-bit


* April 14, 2016, 04:01:08 AM
#17
I was using 64 bit before, but, I just installed the 32 bit on Win 7 w/Platinum and getting the same error that I did on the 64 bit version.

Logged


* April 14, 2016, 05:49:53 AM
#18
I was using 64 bit before, but, I just installed the 32 bit on Win 7 w/Platinum and getting the same error that I did on the 64 bit version.

Ok, :P
I think I found the "Bugger"
> see attachment try these "ACIS" setttings > before you create the law  ;D

Logged
"What do I know, I'm still learning"..
Windows 7 64 bit HP > on a stock HP laptop with 4gb-2.4 GHz.Turbocad 2016-2017, TurboCad Platinum 21(Best working version,IMHO) Using Lightworks for reliability/stability and testing redsdk, Anilab lab 5, Renditioner Pro V3. ATI Mobility Radeon HD 4500/5100


* April 14, 2016, 06:31:55 AM
#19

Hey, that worked !!   ;D

Thanks!

Kevin


Logged


* April 14, 2016, 10:00:36 AM
#20
re: …try these "ACIS" settings before you create the law.

I think you only need to turn "Degenerative Faceting" OFF.

Thank you Dean for the useful info.

Logged
John R.

V17—V21, 2015, 2016, 2017
Designer, Deluxe, Basic, Platinum
RedSDK enabled
Windows 10, 64-bit


April 14, 2016, 10:13:55 AM
#21
Amazing Henry...Thanks!

Logged
Thanks,
Dave Taylor
TurboCAD Product Manager


* April 14, 2016, 09:18:28 PM
#22
re: …try these "ACIS" settings before you create the law.

I think you only need to turn "Degenerative Faceting" OFF.

Thank you Dean for the useful info.

Yup. That's it. I almost never have Degen ON.

Henry H

Logged


* April 22, 2016, 09:25:11 PM
#23
Hi Henry,

Is this a "2016" tool only, or is it present in 2015?
 
BG

Logged


* April 23, 2016, 07:23:31 AM
#24
Hi Henry,

Is this a "2016" tool only, or is it present in 2015?
 
BG

It's new in 2016, Bill.

Henry H

Logged


* August 03, 2016, 11:11:29 PM
#25
Looks like a great tool thanks! Are there any video tutorials of how to use it anywhere?

Logged


* August 04, 2016, 09:34:41 AM
#26
Looks like a great tool thanks! Are there any video tutorials of how to use it anywhere?

There are a couple of short video's done by IMSI, they are more of an overview than a tutorial.

https://www.youtube.com/watch?v=uLkOF9pW4H0
https://www.youtube.com/watch?v=z9eQZCppJ5s

Logged


* August 05, 2016, 03:48:04 PM
#27
Just by chance I saw a video about Surface Laws and by coincidence I found this thread and downloaded it and like everyone else read it word for word but I can't seem to find which toolbar or drop-down window the Law is found in.  I looked on the 2016 desktop and looked at all the toolbars and menus and I can't find it.

John B.

Logged
John B.
TCv2016 Pro Platinum
Windows 7 Pro 64 Bit
1 GB Hard Drive 16 GB RAM
AMD Radeon HD 7700


* August 05, 2016, 03:56:53 PM
#28
Hi John,

Draw - 3D Object - 3D Law Object

Cheers
David
« Last Edit: August 05, 2016, 03:59:03 PM by willeng »

Logged


* August 05, 2016, 04:14:56 PM
#29
I went to Draw/3D Object but there was no 3D Law so I looked in Customize/Commands/3D Object and found Surface With Law and dragged it to Draw/3D Object and pasted it there.

Cheers David,

John B.

Logged
John B.
TCv2016 Pro Platinum
Windows 7 Pro 64 Bit
1 GB Hard Drive 16 GB RAM
AMD Radeon HD 7700


* November 03, 2016, 08:09:16 AM
#30
Page 17 of the article contains some errors. My thanks to Igorun for finding them. See the original post at the top of this thread for corrections.

Henry H
« Last Edit: November 03, 2016, 08:14:14 AM by Henry Hubich »

Logged