Git Product home page Git Product logo

tpms-designer's Introduction

TPMS-Designer

An open-source Matlab toolbox for generation, analysis and visualisation of TPMS-like structures and other 3D objects.

Install Instructions

  • To install the complete toolbox in Matlab, download the latest release of TPMS Designer Release and include files in your path within matlab.

  • To install just the GUI application, download and run TPMS-Designer/app/TPMS Designer GUI.mlappinstall

  • For users without Matlab, you may download the stand-alone version. Download and run TPMS-Designer/app/TPMSDesigner_Installer_web.exe This may take a while and will prompt you to install the relevant version of the free matlab runtime.

View TPMS Designer on File Exchange

tpms-designer's People

Contributors

alistairj43 avatar owiecc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tpms-designer's Issues

Question About How to Generate Sheet Scaffolds

Hi Alistair,

Thank you very much for your great work!

I am trying to use your toolkit to gnerate a sheet Gyroid scaffolds for further study. However, I did not find a possible option for the sheet scaffold. I am really a new beginner of this filed, therefore, I really appreciate if you could offer me some help.

Thank you so much in advance for your time and look forward for your reply.

Sincererly,
Chenlin

STL export not working

Hi,
First and foremost, I'd like to thank you for making this tool available. However, I cannot generate an STL file using the command "myTPMS.FV.exportSTL('outputs/myTPMS.stl')" as shown in the documentation file "Ex1SingleTPMS.mlx". The corresponding error I get is "Unable to resolve the name 'myTPMS.FV.exportSTL'.". I've reviewed the solutions online but didn't have any success; the most prominent solution can be accessed from this link "https://uk.mathworks.com/matlabcentral/answers/480267-error-unable-to-resolve-name-issue". Is there a file missing from the repository that is needed for this function to work?

Also, I encounter an error when the following function is used (again when running the provided documentation):

  • axesHist = myCell.plot("histogram","inclination angle");
    The corresponding errors are:

  • Unrecognized method, property, or field 'Fproperty' for class 'UnitCell'.

    Error in [plotHistogram](matlab:matlab.internal.language.introspective.errorDocCallback('plotHistogram',
    'C:\Users\User\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\TPMS Designer\dependancies\plotHistogram.m', 35))
    ([line 35](matlab: opentoline('C:\Users\User\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\TPMS
    Designer\dependancies\plotHistogram.m',35,0)))
    elseif isfield(data.Fproperty,pID) % Face Property

    Error in [UnitCell/plot](matlab:matlab.internal.language.introspective.errorDocCallback('UnitCell/plot',
    'C:\Users\User\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\TPMS Designer\classes\UnitCell.m', 194)) ([line 194]
    (matlab: opentoline('C:\Users\User\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\TPMS
    Designer\classes\UnitCell.m',194,0)))
    h = plotHistogram(UnitCell,property1,opts,ax);

Also, apologies if I'm using the incorrect terminology, as I'm relatively new to MATLAB, and I'm only using it for my final year project.

Could you please get back to me as soon as possible because I'd like to use this toolbox for my final year project however I'm running out of time.

Kind regards,
Hassan.

Cylindrical Scaffolds with gradient porosities

Hi Alistair,

I'm not sure if this is a problem with the toolbox or just my code, but I was wondering whether it was possible to create cylindrical scaffolds with gradient porosities with the "TPMS Designer" toolbox. I've checked the documentation, and I could see that various methods have been listed in the "bulkSize.m" file (box, cylinder, FV), but only the box method is currently working. In addition, the documentation states that the properties must be stated as a vector of size (Lx1) or a matrix for 2D and 3D gradients, all of which I've tried. Also, how would I generate a closed volume as I need to create a solid from the exported STL?

I've been trying to figure the above out, but none of my attempts are working. If it is an error with my code, would you be interested in providing training? I'm relatively new to MATLAB and this toolbox, and I'm not very skilled at it yet.
If you're interested, I'll be willing to pay £40/hour of training. If not, would it be possible for you to provide a sample code to generate cylindrical scaffolds with gradient porosities (radially and in the X, Y, & Z directions)?

Best wishes,
Hassan.

Relative paths to internal data

The paths e.g. to data\lattices\BCC.txt are relative in the app code. The files cannot be loaded if the paths are not correctly set up in MATLAB. I believe they should be made relative to the App base folder.

import of .stl

Hi Alistair.

I have just downloaded the TPMSDesigner_Installer_web.exe package and it seems, after a quick bit of messing around, to be pretty easy to use.

I do, however, not find the choice of .stl in the "size method"-column available in the GUI.

Am I missing something in the install or does this particular version not support this feature?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.