News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu

Using fSpy with TurboCAD

Started by Colin Edgar, July 07, 2024, 11:23:44 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Colin Edgar

I recently posted an Excel spreadsheet to the forum that can be used with fSpy to calculate the TC camera settings to align a perspective view of a 3D model with a background image. Using the spreadsheet required a lot of manual copying and pasting of values between fSpy, Excel, and TC. So I decided to see if I could write an app to do it automatically.

For anyone interested, the attached zip contains the files for an app I created in C# using Visual Studio, including a setup.exe file and a pdf describing how to install and use the app. Read the pdf first to see if the app is of interest to you. When you run the setup.exe file you'll likely get some Windows security warnings about unknown publisher, etc. I've scanned all of the files with Norton Antivirus but I recommend you do your own scan of the files before running setup, just to be safe.

I'm still working on how to handle images which have been cropped asymmetrically (i.e., fSpy principal point not in the center of the image) and will include this in a future version of the app if I can figure it out.

If you decide to try out the app, I'd be interested in getting your feedback. I believe the zip contains all the necessary files, but let me know if you have any issues installing or running the app and I'll try to help out.

Cheers.
TurboCAD Deluxe 2021 (64-bit, ver. 28, build 50); Windows 11 Home; Lenovo Legion 7, Intel Core Ultra 9 275HX, 2.70GHz, 24 cores, 32GB RAM, NVIDIA GeForce RTX 5070

Colin Edgar

For anyone interested, attached is an updated version of my TCCamUsingfSpy app. I've upgraded it from .NET Framework 4.7.2 to .NET 8.0. I've also added a dropdown list to the UI for selection of the reference workplane rather than having to activate it in the design director. The help file has also been updated. The zip file now just contains two files, the executable file and the pdf help file. Hope you find it useful.

Cheers
TurboCAD Deluxe 2021 (64-bit, ver. 28, build 50); Windows 11 Home; Lenovo Legion 7, Intel Core Ultra 9 275HX, 2.70GHz, 24 cores, 32GB RAM, NVIDIA GeForce RTX 5070