Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Can you show an example which produces the Package pgfkeys Error: I do not know the key '/tikz/3d view', to which you passed '{120}{30}', and I am going to ignore it. Perhaps you misspelled it. error? Maybe you are just missing the necessary libraries? Commented 2 days ago
  • Such 3D wireframe models aren't provided (yet) by Tikz or its related packages. So you better look for such a simulator, export its result as pdf, svg or bitmap and include it in Latex docs via package graphicx.
    – MS-SPO
    Commented 2 days ago
  • 1
    3d realism and tikz don't really go together. that said, if you basically just need some cubes/cuboids stacked, you can do it reasonably straightforwardly, if not entirely conveniently e.g. tikz-3dplot can be used for simple cases if you are patient. it is not bug-free, but it would work OK here, I think.
    – cfr
    Commented 2 days ago
  • i) Am I correct that you want the 3D image shown at the bottom at the end of the post? ---> You then have to draw this with 3D coordinates. ii) I don't know if I understand everything correctly: But if a 3D image is to be created automatically from a 2D drawing, as far as I know, this doesn't work with TikZ (TikZ can't do magic). For this you need proper CAD software.
    – cis
    Commented 2 days ago
  • for cubes and cuboids, see tex.stackexchange.com/a/30316. this is a community-list answer. other answers to the same question may also be of interest. (it is worth following the first couple of links in the community list just to see some awesome looking cubes. disclaimer: I have an answer linked there, but mine is absolutely boring with not even a whiff of Tolkien about it.)
    – cfr
    Commented yesterday